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

android back button and kendo back button

3 Answers 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dean
Top achievements
Rank 1
Dean asked on 20 Jun 2013, 05:43 AM
I've noticed that while at first the android back button (as on an android device) and the kendo mobile back button appear to work the same way, when you use a combination of both you get different behaviour. Let's see how I go at explaining what I mean...

I have 3 views; view-a, view-b and view-c. I start the application and the initial view is view-a, then I do the following tests:

Android back button only
  1. navigate to view-b
  2. navigate to view-c
  3. use the android back button - takes me to view-b
  4. navigate to view-c
  5. use the android back button - takes me to view-b
  6. use the android back button - takes me to view-a
Kendo back button only
  1. navigate to view-b
  2. navigate to view-c
  3. use the kendo back button - takes me to view-b
  4. navigate to view-c
  5. use the kendo back button - takes me to view-b
  6. use the kendo back button - takes me to view-a
Both the kendo and android back buttons
  1. navigate to view-b
  2. navigate to view-c
  3. use the kendo back button - takes me to view-b
  4. navigate to view-c
  5. use the kendo back button - takes me to view-b
  6. use the android back button - takes me to view-c
  7. use the android back button - takes me to view-b
  8. use the android back button - takes me to view-c
  9. use the android back button - takes me to view-b
  10. use the android back button - takes me to view-a
Notice the extra steps when using first the kendo back button and then the android back button? FYI, the same happens when using android first and then kendo. Ideally what would happen is the same behaviour as in the first 2 scenarios.

Why would I want both back buttons available you ask? Well I've implemented a swipe gesture that fires navigate("#:back") for convenience because reaching for the back button on a tablet can be a stretch.

So, any ideas? Is this something that would need to be fixed/developed in kendo mobile or is there something I can do?

3 Answers, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 24 Jun 2013, 05:44 AM
Hello Dean,

Thank you very much for the thorough test case. I managed to reproduce it in a regular desktop browser, too (the sample I used is here). This is definitely a problem that should be addressed in Kendo UI Mobile, and it stems from  the way the application pane history stack "communicates" with the browser history object. We will try to address the problem in our upcoming internal builds. Unfortunately, I can't provide a viable workaround for the problem right now.

I am updating your telerik points for this finding. Thank you once again. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rodrigo
Top achievements
Rank 1
answered on 12 Feb 2014, 03:58 PM
Is ther a solution to this problem?
0
Petyo
Telerik team
answered on 14 Feb 2014, 12:34 PM
Hi Rodrigo,

This thread is several months old and discusses an issue with our Q2 release. The problem should be resolved in Q3 2013 and newer subsequent releases. 

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