Closed peterbee closed 10 years ago
This may require setting a hash when the modal opens and then detecting when that hash is removed (which will occur when the Back button is pressed).
Web Spek API now uses the the window location hash to observe the browser Back button being pressed. If a modal is open, it is closed when the Back button is pressed.
Especially for full-screen modals, this significantly increases usability.