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

Issue with "Back" button

3 Answers 124 Views
SplitView
This is a migrated thread and some comments may be shown as answers.
Vanya
Top achievements
Rank 1
Vanya asked on 04 Mar 2013, 10:58 AM
Hello, 

I have used your example and I have found a problem with the button "back".
In your example on the left side of the screen there are categories. When is chosen a category, a list of products appears.
If I want to see the categories again, I have to press the button “back”.
The issue appears when I press the button "back" twice and after that I chose a category. When I chose a category, appears a list with products, but when I press the button “back” the button doesn’t work.
Steps:
1. Chose a category
2. Press the button "back" twice
3. Chose category again
4. See products
5. Press the button "back"
Result: User cannot go back in categories .

How could be avoid this case?

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 06 Mar 2013, 08:13 AM
Hi Vanya,

Thanks for contacting us. It seems like you have stumbled upon a bug in the splitview back button handling - we will do our best to address it for the upcoming Q1 release, due later this month. 

I have updated your telerik points for this finding. 

Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Christopher
Top achievements
Rank 1
answered on 20 Aug 2013, 03:07 PM
There are a couple of button issues I've noticed.

Currently the example code: 
 function toggleBackButton(e) {
        if (e.view.id === "#side-root") {
            e.view.element.find("[data-role=backbutton]").css("visibility", "");
        } else {
            e.view.element.find("[data-role=backbutton]").css("visibility", "visible");
        }
    }

Doesn't toggle correctly, adding the "hidden" fixes the toggle.

 function toggleBackButton(e) {
        if (e.view.id === "#side-root") {
            e.view.element.find("[data-role=backbutton]").css("visibility", "hidden");
        } else {
            e.view.element.find("[data-role=backbutton]").css("visibility", "visible");
        }
    }

Secondly,
if you click the "index" button, navigation on side pane continues to work, but the main-pane no longer functions/displays the orders view, still trying to debug that one, perhaps handling the orders view similar to the filtering of the other views?



0
Alexander Valchev
Telerik team
answered on 22 Aug 2013, 02:23 PM
Hello Christopher,

Thank you for the feedback.
I assume that you refer to the mobile version of the SplitView demo.
I was able to reproduce the issue with the back button. We will log it and try to fix it as soon as possible. The fix will be most probably published with next service pack or major release.

Regarding the second issue, I did not manage to understand how to reproduce it. Could you please provide a step-by-step instructions? When I press the index button the index page of the app loads as expected. After that I am able to navigate to the SplitView demo which seems to behave as expected.

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
SplitView
Asked by
Vanya
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Christopher
Top achievements
Rank 1
Alexander Valchev
Telerik team
Share this question
or