This is a migrated thread and some comments may be shown as answers.

Drawer is stuck in splitview

6 Answers 83 Views
Drawer (Mobile)
This is a migrated thread and some comments may be shown as answers.
Poorna
Top achievements
Rank 1
Poorna asked on 25 Jul 2013, 10:47 AM
Hi expertise,

In my application,  i use  splitview and normal views with drawer. When i navigate to spitview from normal view, splitview is stuck.

can I use drawer and splitview together?

Thank you.

6 Answers, 1 is accepted

Sort by
0
Truc
Top achievements
Rank 1
answered on 02 Aug 2013, 04:06 PM
Did you every find a solution for this?
I'm having the same problem?

I get this error: "Uncaught TypeError: Cannot call method 'replace' of undefined
0
Petyo
Telerik team
answered on 06 Aug 2013, 11:11 AM
Hi,

This scenario is not supported currently. The drawer widget is a phone UI specific one, while the splitview targets tablet based interfaces. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Truc
Top achievements
Rank 1
answered on 06 Aug 2013, 03:01 PM
The drawers work perfectly in both phone and tablet, on both iOS and Android environments. We have test this in the simulator as well as on actual iOS phones and iOS tablet devices, as well as on actual Android phones and Android tablet devices. To say that drawers are phone UI specific seems to be an incorrect statement.

The Splitview is obviously a tablet UI only element.

We have implemented a small test app combining the drawer and a Splitview together. Works perfectly!
Attached is an example.

However when we implement it on our larger app it throws an error on line 6882 of "kendo.mobile.min.js" (unminified) from 2013.2.801

                        t = !e[0] || e.indexOf(this.pane.view().id.replace("#", "")) > -1;

So for testing purposes we just ignored the error with this:
                        t = !e[0] || (this.pane.view().id? e.indexOf(this.pane.view().id.replace("#", "")) > -1 : true);

With this everything works perfectly in our larger app.
Obviously we can't leave it this way, we're just testing.

Please, can you help us find a work around.

0
Petyo
Telerik team
answered on 08 Aug 2013, 08:36 AM
Hi Truc,

Thank you for the provided test case. We will include this fix for our upcoming service pack. I am updating your telerik points. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Truc
Top achievements
Rank 1
answered on 21 Nov 2013, 06:13 PM
It broke again in the kendo ui framework Q3 2013 release.
Attached is the sample testing app. Open the drawer, then select SplitView item and will see the below error and the view is stuck.
 Uncaught TypeError: Cannot call method 'hide' of undefined kendo.mobile.min.js:17
0
Petyo
Telerik team
answered on 25 Nov 2013, 09:49 AM
Hello Truc,

Thank you for contacting us - I can confirm the regression. We are going to address it as with an internal build update as soon as possible. Your telerik points have been updated. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Drawer (Mobile)
Asked by
Poorna
Top achievements
Rank 1
Answers by
Truc
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or