Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cannot a Back button to nested list (Latest Version) #1777

Closed
steven-fernandez opened this Issue Jun 3, 2011 · 10 comments

Comments

Projects
None yet
10 participants

I'm having problems trying to get the back button to show in a nexted list. I can see that the same is happening to your demo's here:

http://jquerymobile.com/test/#/test/docs/lists/lists-nested.html

You can see the problem here:

http://jquerymobile.com/test/#/test/docs/lists/lists-nested.html&ui-page=Animals-8

or just click any list.

Here is my actually issue:

    ';
  • Heading here

    Author: some author

    Description: some description

            <ul data-role="listview" data-inset="true" data-add-back-btn="true">
                <li>sometthing here</li>
            </ul>
    

Is this a bug or I'm I forgetting something?

Thanks

same here. back button disappeared on nested lists after updating to beta.

Did you find out how to bring the back button back?

I've ran in to this as well. Now that the back button isn't the default (since b1), setting data-add-back-btn="true" on the page doesn't persist to the dynamically generated page created by clicking through a nested list.

@johnbender johnbender was assigned Aug 7, 2011

is there a workaround to bring it back to nested lists only? Im using nested lists as navigation menu and this throws off the workflow completely. ideas or suggestions open as well.

A way to do it is to set the backButton setting to true and then add the data-attribute for the back-button to false on all the other pages.

ucavus commented Mar 13, 2012

I think nested nav sub pages should still have a back button by default or at least be configurable to do so. This is simply because they are not content pages, they are just interstitial pages. Removing the back button from them prevents you from ever going back in devices without a hardware back-button, even when both the source and destination pages have a back button.

I think it would be even better if those interstitial pages were removed from the history stack so going back from the destination page went straight to the source page. Maybe an option to turn this on per app or per list.

Contributor

toddparker commented Sep 24, 2012

Is this still an issue with latest? If so, please indicate what browser and test case you're seeing this on?

eski009 commented Sep 27, 2012

Yes, still an issue

Member

agcolom commented Feb 27, 2013

I will close this issue as nested lists are now deprecated, see details here: #5657

@agcolom agcolom closed this Feb 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment