Kendo UI Mobile Navigation - Back not behaving as expected

4 posts, 0 answers
  1. Dale
    Dale avatar
    8 posts
    Member since:
    Oct 2016

    Posted 14 Nov 2017 Link to this post

    I have tried navigating to remote views via both anchors that have href set and in JS by app.navigate("test.html") and no matter which way i perform the navigation, navigating back (pressing the back button in the nav bar or pressing back in the browser) results in the application navigating to the starting index page. It's as though the views that are navigated to are not being recorded as I navigate to them. I have not been able to find much information on this. The only relevant information I found was to check app.pane.history (an array) and sure enough it was empty after I had perfomed a few jumps of navigation. I'm not really sure what to do at this point beyond trying to catch the back event and implement the history manually. Any suggestions?
  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    860 posts

    Posted 16 Nov 2017 Link to this post

    Hello Dale,

    Attached you will find a very simple Kendo hybrid app. You will notice, that two of its views (about and test) are loaded from external html files (about.html and test.html). While testing this sample I was able to go back the visited views using the browser back button (screencast here).

    May I ask you to modify the attached so it reproduces the issue observed at your end and send it back to us?

    Also, if you are navigating to and back from an external page (not a view, which is part of the Kendo app), I am afraid, that the observed loading of the initial Application page is expected.

    Regards,
    Veselin Tsvetanov
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Dale
    Dale avatar
    8 posts
    Member since:
    Oct 2016

    Posted 16 Nov 2017 in reply to Veselin Tsvetanov Link to this post

    We wish to use programmatic navigation which does not seem to be working the same way.

     

    See attached.

  4. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    860 posts

    Posted 20 Nov 2017 Link to this post

    Hello Dale,

    Here you will find a short video of running the sample sent. You will notice, that the browser back button navigates back properly, until it reaches the third visited view (the "Test" one). Then, if the back button is clicked, the browser navigates back to the initial view (instead of the "About" view).

    If this is the issue observed at your end too, it should be considered a bug in the Kendo Application functionality. Here you could find a GitHub item, where you could track the bug status.

    As a small token of gratitude for reporting the above, I have updated your Telerik points.

    Keep in mind, that I won't be able to offer you a viable workaround for the discussed, that would force the Kendo Application to properly mange the back navigation. Therefore, I would suggest you to keep tracking the GitHub issue and update the Kendo version as soon as the fix is available.

    Regards,
    Veselin Tsvetanov
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top