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

Multiple Drawer Issues

3 Answers 111 Views
Drawer (Mobile)
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 23 Oct 2013, 03:15 AM
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

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 24 Oct 2013, 08:52 AM
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!
0
Accepted
Manoj
Top achievements
Rank 1
answered on 24 Oct 2013, 02:16 PM
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.
0
Kiril Nikolov
Telerik team
answered on 25 Oct 2013, 07:12 AM
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!
Tags
Drawer (Mobile)
Asked by
Manoj
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Manoj
Top achievements
Rank 1
Share this question
or