-
Notifications
You must be signed in to change notification settings - Fork 2.4k
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Listview with initially hidden items breaks when refreshed - jQM 1.3.0 #5680
Comments
Test page that uses latest code: http://jsbin.com/edeluh/68 |
Actually, I would argue that, like, #6911, this is part of providing correct backwards compatibility with 1.3.0, and therefore the milestone should be 1.4.x. |
OK, I misunderstood. This never worked in the first place. Still, since it's a bug in 1.4.x, we should fix it. The fix does not require any refactoring. It's simply a bug fix. |
Just to be sure we're on the same page issue #5680 remains unresolved to date: What's the timeline for resolving it? |
@gabrielschulhof - #7339 landed in 1.4-stable, right? Can we can close this ticket as fixed? |
Yeah, we can close it. |
Fixed in baa6932 |
In jQM 1.3.0 if a listview with initially hidden items is updated by adding new items and then calling .listview( 'refresh' ), the listview breaks. The newly added items do not hide.
http://jsfiddle.net/fiddleyetu/ffMhk/2/
If you comment out the last two lines of the javascript and click run, you'll see that it works as expected.
However, if the entire listview (including ul or ol element) is dynamically created by putting the dynamically generated listview markup in a container element and then calling .trigger( 'create' ) on the container element. it works fine.
http://jsfiddle.net/fiddleyetu/ffMhk/
The text was updated successfully, but these errors were encountered: