z-index on floating ui components seems to be failing #1976
Replies: 1 comment
|
It seems you now have to explicitly apply z-index to the popover containers in order for it to layer the component correctly. I've seen some recent fixes merged on the bits ui site which seems to indicate a change in how the component calculates it on the fly. Adding |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi I've created a few re-usable components with floating parts, i.e the select, and popovers. Strangely I've used these components a few times and had no problems with z-index, but on this one svelte kit app, all the elements get rendered with
z-index: autoinstead of applying correct z-index of '7000' or an index higher that the parent.Can anyone advise how the components automatically apply z-index when using floating content wrappers? There something I'm missing?
All reactions