Add back-button handling to lightbox #26

Open
opened 2020-03-05 09:20:27 -05:00 by jmcbray · 1 comment
Owner

Currently, if you use the back button to try to close a lightbox, it will take you to the previous page, not just close the lightbox. This is not ideal.

Need to check if the library I'm using has support for this, or if I need to wrap it or something.

Currently, if you use the back button to try to close a lightbox, it will take you to the previous page, not just close the lightbox. This is not ideal. Need to check if the library I'm using has support for this, or if I need to wrap it or something.
Author
Owner
See https://stackoverflow.com/questions/22229689/how-to-make-browser-back-close-magnific-popup
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jmcbray/brutaldon#26
No description provided.