Join GitHub today
Panel: Opening from anchor tag within listview does not remove active button class #5961
Opening a panel using an anchor tag within a list view does not remove the ui-btn-active class from the li containing the anchor.
Test Page: http://jsbin.com/idabam/2
Actual outcome: The "Open Panel" list item retains an active state.
jQuery Mobile 1.3.1
This should work similar to how the popup widget handles removing the active class. Adding a delay before the active class is removed would also be a helpful UI cue.
Would a change similar to the following work?
Thanks for reporting the issue.
For 1.4 we are working on reducing the markup we generate for buttons, including the ones in listviews. As a result the anchor element in the list item will get the button classes, including the active state class. This resolves this issue.