In React Transition component has overlap bug when using translate. #2350
Unanswered
90sPixelDev
asked this question in
Help
Replies: 1 comment
-
I was having the same issue on a project. Went back to these docs: Headless UI/Dialog Ran this code:
Then everything was working properly and I was able to style it as needed. |
Beta Was this translation helpful? Give feedback.
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.
-
I have a div that plays the transition on load and always stays visible. Which looks like this:
When I have the
trans-x-0
in theenterTo
property or in theleaveFrom
property I get a weird overlapping of the component where it overlaps other components which are absolute. While preventing a an absolute positioned child element in the transition component from properly overlapping other components (z-index is set fine)If I remove the
translate-x-0
from theenterTo
property or theleaveFrom
property it then plays the animation just fine and doesn't incorrectly overlap other components and doesn't prevent the child component from overlapping like it should be.Is this intended behavior or a bug ?
Beta Was this translation helpful? Give feedback.
All reactions