-
Notifications
You must be signed in to change notification settings - Fork 230
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
target argument is getting the parent on Safari. OnShow method. #496
Comments
I am experiencing the same thing. In Chrome the target is correct but in Safari the target is the body. |
The problem is here because It's not in the docs but there is a third parameter which is the original event, so you can grab all three parameters |
Same in Firefox 109 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MicroModal.init({ onShow: this.handleOpenModal.bind(this), });
Arguments passed to this function suppose to be modal and target, target is passing the body instead on safari browser.
The text was updated successfully, but these errors were encountered: