Add an option for making Back button close the lightbox #30704
lorenzoactm
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
When using the lightbox, pressing the back button goes back a page. This is fine on desktop, but on mobile it makes users leave the page when they're just trying to close the lightbox.
Describe the solution you'd like.
It would be nice if we had an option to make the back browser button close the lightbox. I wouldn't set it as default since hijacking the back button may not be ideal in some cases.
Describe alternatives you've considered.
No response
Additional context
Here's a workaround I'm using:
Agreement
All reactions