New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove nested listview feature #5657

Closed
toddparker opened this Issue Feb 19, 2013 · 4 comments

Comments

Projects
None yet
5 participants
@toddparker
Contributor

toddparker commented Feb 19, 2013

We are depreciating the nested list featureand will be dropping support for this in 1.4.0. Nested lists auto-generate pages based on nested UL structures but these have a number of important drawbacks. First, these generated pages complicate the AJAX navigation system and introduce a wide range of edge cases (and bugs) that make it impossible to maintain with our navigation model. Second, these dynamic pages are of limited value because they can't be controlled without introducing a templating engine so they are not flexible enough to be useful.

There are a number of issues related to nested listviews we will be closing as won't fix:
https://github.com/jquery/jquery-mobile/issues/search?q=nested+listview&state=all&assignee=

The same effect can be achieved by creating a multi-page document which give you full control of the page layout and styles. This plugin will be removed in 1.4.0 and moved to an external repo for those that still want to access the code.

@gseguin

This comment has been minimized.

Show comment
Hide comment
@gseguin

gseguin Feb 19, 2013

Member

👍

Member

gseguin commented Feb 19, 2013

👍

@sr77in

This comment has been minimized.

Show comment
Hide comment

sr77in commented Feb 21, 2013

👍

@ucavus

This comment has been minimized.

Show comment
Hide comment
@ucavus

ucavus Mar 27, 2013

Can there at least be a compromise so submenu items are still accessible? Perhaps animated into and out of view in situ like collapsible sets? Some menus are too big to show every item at once but, nevertheless, shouldn't be split across more than one page. Many desktop sites use nested lists as the basis for their navigation markup, so surely there is some way to translate that same markup, or similar, into a usable, well-styled interface in jQm.

ucavus commented Mar 27, 2013

Can there at least be a compromise so submenu items are still accessible? Perhaps animated into and out of view in situ like collapsible sets? Some menus are too big to show every item at once but, nevertheless, shouldn't be split across more than one page. Many desktop sites use nested lists as the basis for their navigation markup, so surely there is some way to translate that same markup, or similar, into a usable, well-styled interface in jQm.

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot May 9, 2013

Member

Closing as fixed by @arschmitz's commit 923a83e.

I will work on adding some style for nested lists and we can look into making data-role="collapsible" work on a LI with a nested UL (#5539).

Member

jaspermdegroot commented May 9, 2013

Closing as fixed by @arschmitz's commit 923a83e.

I will work on adding some style for nested lists and we can look into making data-role="collapsible" work on a LI with a nested UL (#5539).

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