Drawer is stuck in splitview

7 posts, 0 answers
  1. Poorna
    Poorna avatar
    3 posts
    Member since:
    Aug 2012

    Posted 25 Jul 2013 Link to this post

    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.
  2. Truc
    Truc avatar
    3 posts
    Member since:
    Apr 2012

    Posted 02 Aug 2013 Link to this post

    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
  3. Kendo UI is VS 2017 Ready
  4. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 06 Aug 2013 Link to this post

    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!
  5. Truc
    Truc avatar
    3 posts
    Member since:
    Apr 2012

    Posted 06 Aug 2013 Link to this post

    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.

  6. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 08 Aug 2013 Link to this post

    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!
  7. Truc
    Truc avatar
    3 posts
    Member since:
    Apr 2012

    Posted 21 Nov 2013 Link to this post

    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
  8. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 25 Nov 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready