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

z-index stacking issues #6

Open
matthewlein opened this issue Nov 28, 2016 · 5 comments
Open

z-index stacking issues #6

matthewlein opened this issue Nov 28, 2016 · 5 comments
Labels

Comments

@matthewlein
Copy link

z-index is a classic issue with tooltip/modal libraries I've used. See:

http://codepen.io/matthewlein/pen/zoEvpN

From what I've seen, the only way to make it z-index work as intended is to append to the body, instead of a sibling like you're doing. The body is most likely not in a set z-index context, so it can be reliably set by a developer. Its happened to me plenty of times. will-change also creates a new stacking context, making the issue more likely in other unforeseen ways.

@desandro desandro added the bug label Nov 28, 2016
@desandro
Copy link
Member

Add a 👍 reaction to this issue if you have run into this bug as well.


Yup, this looks to be a bug. Thanks for reporting this one. I'll have to evaluate appending-to-body as you suggest.

@drohne200
Copy link

I have the same issue on JQM. z-index does not work! Please fix this bug!

@jemminger
Copy link

I have a similar issue where my color input is inside a div with overflow: hidden. Huebee is mostly hidden because of this.

@yabdab
Copy link

yabdab commented May 2, 2019

Add a 👍 reaction to this issue if you have run into this bug as well.

Yup, this looks to be a bug. Thanks for reporting this one. I'll have to evaluate appending-to-body as you suggest.

Have you added this an option yet? If not, can you give an example on how to do so?

@macsupport
Copy link

👍

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

No branches or pull requests

6 participants