Closed haola1210 closed 6 days ago
Hey!
Can you share a minimal reproduction?
I figured out a reproduction that seems to reproduce this. So this should be fixed by #3331, and will be available in the next release. If this does not fix your issue after testing, please open a new issue with a minimal reproduction GitHub repo attached.
You can already try it using:
npm install @headlessui/react@insiders
.
@headlessui/react
v2.1.0
Chrome
Describe your issue
I created a component called MyDrawer with the
Transition
component. I render children inside theTransitionChild
Inside MyDrawer, I use aDialog
component and addtransition
props to theDialogPanel
component. When I close theDialog
(click on the backdrop) -> the dom content of theTransitionChild
is goneit's ok when I remove the
transition
props from theDialogPanel
component. but then myDialog
wont have animation :(