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

fix z-index for all elements #1109

Closed
fat opened this issue Jan 23, 2012 · 5 comments
Closed

fix z-index for all elements #1109

fat opened this issue Jan 23, 2012 · 5 comments

Comments

@fat
Copy link
Member

fat commented Jan 23, 2012

this is a tricky annoying problem because of the relationship between the topbar and modal elements and how popovers/dropdowns/etc aren't children of modals.

Currently all dynamic things are shown beneath the modal which is incorrect.

@pokonski pokonski mentioned this issue Jan 23, 2012
@pokonski
Copy link
Contributor

Would setting appropriate z-index'es from JS plugins be a viable option?

Example: in case of Tooltips inside modals, traversing upwards until we find a parent (of the element that triggered the Tooltip) with z-index present and then we set a higher z-index for the Tooltip itself.
Or simplified case: look for the closest parent .modal and set z-index to a higher one - easier to do.

@XORwell
Copy link

XORwell commented Jan 24, 2012

i've had the same idea. (traversing upwards)
i think that setting z-index'es from JS plugin is a viable option.

@pokonski
Copy link
Contributor

I could take a stab at this but I don't handle rejection well :P.

@mdo
Copy link
Member

mdo commented Jan 28, 2012

Closing for #1221.

@purwandi
Copy link
Contributor

purwandi commented Sep 5, 2012

This issue is still going on bootstrap 2.1.1 see #4980

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

5 participants