Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Header buttons dont' unfocus when opening/closing a panel. #5583
In jquery 1.3rc1 on iOS 6.1 mobile safari, if a button is in a header without
<div data-role="header"> <a href="index.html" data-icon="delete">Open Panel</a> <h1>Edit Contact</h1> <a href="index.html" data-icon="check">Save</a> </div>
An example of the code can be found here http://jsbin.com/upelih/3/
Note: Adding data-role="button" seems to fix the issue for iOS but actually introduces the exact same issue for Firefox v20.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Thanks for reporting the issue.
This is a regression from 9015866. I noticed that on Chrome and FF on Win7 the button in the header doesn't get the active state, only when in the content. On iOS/Chrome, as reported, the header button gets the active state but it isn't removed.
Update: test page that uses latest code http://jsbin.com/upelih/5/edit