You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Actual outcome: The "Open Panel" list item retains an active state.
Platforms/browsers tested:
iPhone 4 (Mobile Safari)
Android
jQuery Mobile 1.3.1
jQuery 1.9.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.
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.
It also means we can remove the code that was added (cb54f03) to fix the same issue we had with popups (#4611).
The ui-btn-active class is removed when the process of opening the panel is finished, so there is no need to use a timeout here.
The 300ms timeout we use in the popup widget was not part of the fix for #4611, but was added earlier (e612aa8). I am not completely sure why we choose to use a timeout. @gabrielschulhof can't we remove the active state class on popupafteropen?
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.
Platforms/browsers tested:
jQuery Mobile 1.3.1
jQuery 1.9.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?
The text was updated successfully, but these errors were encountered: