Skip to content
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

Modal in z-indexed content #44

Closed
hefler opened this issue Jun 11, 2013 · 0 comments
Closed

Modal in z-indexed content #44

hefler opened this issue Jun 11, 2013 · 0 comments

Comments

@hefler
Copy link

hefler commented Jun 11, 2013

There's an issue when a modal content is inside a z-indexed parent.
Since the parent has its own z-index set, its children (modal included) will inherit that z-index. So regardless of the z-index you put for a modal it will be ruled by its parent. A workaround would be to detach modal bit from where it is and append to the body, so it's treated with it's own z-index. When modal is closed then we append it back to its original place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants