-
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
Nested reveal with data-multiple-opened="true" has wrong z-index #8812
Comments
i have the same problem. the solution that i found.
|
@nbeltran solution doesnt work on ajax loaded modals :( |
The solution I found to prevent this on ajax loaded content is to open the modals using: function openMyModal(){ function openMyOtherModal(){ That works for me and prevent to open the modals on the back, hope this help |
This seems like an edge case and the example above should fix it in these instances. Thanks @adnhack! |
How can we reproduce this bug?
divs
are defineddata-multiple-opened="true"
What did you expect to happen?
I expected the nested modal to appear on top of the first modal.
What happened instead?
The nested modal appeared behind the first modal.
Note that if the order of the divs were not reversed, then it's OK. It seems the layering depends on div order rather than when reveals are opened.
Test case:
JSFiddle: https://jsfiddle.net/noxquws1/19/
The text was updated successfully, but these errors were encountered: