Multiple Drawer Issues

4 posts, 1 answers
  1. Manoj
    Manoj avatar
    6 posts
    Member since:
    Oct 2013

    Posted 22 Oct 2013 Link to this post

    Issue 1: Drawer re-appears when using app.navigate()
    I have several views that use a Drawer. Running into an issue when using ap.navigate().
    Steps to reproduce:
    1. I have 4 views that use the same Drawer
    2. While on View 1, I bring up the Drawer and select a link (<a>) to bring up view 2
    3. On view 2, I do a button click, which then does an app.navigate() back to view 1
    4. Now, instead of displaying view 1 fully, I get view 1 with the Drawer already shown covering most of view 1.
    How can I prevent the Drawer from showing up again unless the user explicitly brings up the Drawer?

    Issue 2:
    On views that have a Back button, clicking the back button brings up the Drawer if the view was shown by navigating thru the Drawer. Is there an option to prevent the Drawer from getting added to the history so that the back button doesn't navigate back to the Drawer?

    Issue 3:
    The iPhone simulator (that comes with Telerik Graphite) doesn't seem to work well with the Drawer. In the above scenario, when I navigate back to View 1, the Drawer displays one of the views instead of its own content. The same issue has been noticed on a desktop browser as well

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 24 Oct 2013 Link to this post

    Hello Manoj,

    I was not able to reproduce either of the issues that you observer. Please check the following example, showing the functionality that you are referring to, and working as expected

    http://jsbin.com/OyAWOFE/1/edit

    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Answer
    Manoj
    Manoj avatar
    6 posts
    Member since:
    Oct 2013

    Posted 24 Oct 2013 Link to this post

    Thanks for checking into it Kiril. After doing some testing and research, I figured out the issue. The problem was related to the fact that I was using view transitions. As I was going thru the documentation late last night, I ran into the note that says, transitions should not be used with drawer. Once I removed the transition, the Drawer seems to be working fine.
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 25 Oct 2013 Link to this post

    Hi Manoj,

    I am glad that you found the solution for your problems.

    Indeed view transitions are not supported when the Kendo UI Drawer is included in the project. If you think that this feature should be added, please go to our feedback portal and post it in there, so it will be considered for a future implementation.
     
    Regards,
    Kiril Nikolov
    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