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

NavBar BackButton triggering different button on layout view change

1 Answer 59 Views
NavBar
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 04 Jun 2013, 09:23 PM
I am testing out KendoUI and have a basic mobile nav setup. I have a layout for my main views and for sub views, I change to a different layout to show a back button. On my main views, I have a button aligned left that opens up a menu. My problem is when navigating into a sub view and clicking the back button, it will go back to the previous view but will also trigger the underlying button to fire as well. I have noticed this DOES NOT happen if I tap on the back button very fast and ensure my finger leaves the screen quickly. If I use a slow tap motion on the screen it will trigger the underlying button on the previous view to display the menu. I have tried several different things: Binding to the button that shows the menu with a click function and other similar approaches. The main issue I feel is that the KendoUI framework loads the new view/layout and does not reset the fact that your finger may still be on the same area where anew button will be and it may be firing even tho the only event that has taken place was a tap release/end instead of a full start/end tap. Anyway around this and do you think setting the touch event variables with a lower default interval for clicks would help?

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 06 Jun 2013, 08:49 AM
Hi Thomas,

I am afraid that the provided information is not sufficient enough in order to determine what causes the issue which you faced with. Could you please send me a small but runnable jsBin sample which isolates the it? In this way I would be able to examine your case in details and assist you further.

Thank you in advance for your time and cooperation.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
NavBar
Asked by
Thomas
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or