New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some areas outside video modal don't trigger modal close on click #111
Comments
geeseyj
changed the title
Some areas outside video modal doesn't trigger modal close on click
Some areas outside video modal don't trigger modal close on click
Aug 19, 2018
geeseyj
pushed a commit
to geeseyj/Modaal
that referenced
this issue
Aug 19, 2018
…be responsive to certain clicks outside videos Update so that if overlay_close is true and a user clicks outside the video on .modaal-video-wrap the modal will close.
Merged
danhumaan
pushed a commit
that referenced
this issue
Nov 6, 2018
…ponsive to certain clicks outside videos Update so that if overlay_close is true and a user clicks outside the video on .modaal-video-wrap the modal will close.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On video modals, at various screen sizes the div.modaal-video-wrap is wider than the actual video. Screenshot below:
Clicks on that extra space won't close the modal since the event listener is listening for a click on div.modaal-inner-wrapper
This makes it unresponsive when it should close the modal like other outside clicks.
I've observed this on the demo site in various browsers.
I'll send a pull request after opening this ticket. 🙂
The text was updated successfully, but these errors were encountered: