-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
The "open.zf.reveal" event is fired before the reveal modal has opened. #11625
Comments
We might have to introduce the |
I figured that the reason for this was the delay on the animation. I believe even the default duration of show() is 400ms although, adding any amount of duration in a setTimeout function seemed to prove successful for me. Far from ideal though. |
Why not chain the close event check with a check for |
Closing this issue as we did not receive any further feedback. Let us know if we should reopen this. |
What should happen?
The "open.zf.reveal" event should only be fired once the reveal modal has opened.
What happens instead?
The "open.zf.reveal" event is fired before the reveal modal has opened.
Test Case and/or Steps to Reproduce (for bugs)
https://codepen.io/anon/pen/dwYmOB?editors=1010
Context
I need to target the reveal modal contents to initiate more js once it's open. The "open.zf.reveal" event seems like the logical extension point here but for some reason, the reveal modal is not present at the time this event is triggered.
The text was updated successfully, but these errors were encountered: