-
I'm trying to create a close transition to the Dialog, but I can't find how it should be done. I noticed that even the demo example in the documentation doesn't have an animation when closing the dialog. I know this thing works because I tested your storybook. I edited the codesandbox from the documentation with the changes I thought would be this work. Could you tell me what is wrong? https://codesandbox.io/s/recursing-liskov-py39ii?file=/App.js:1488-1601 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@Klynger You need to provide an additional exit animation in your https://codesandbox.io/s/dialog-animate-out-qr401v?file=/App.js |
Beta Was this translation helpful? Give feedback.
-
Hey, @andy-hook . Thank you for the answer, but your solution doesn't work if I wrap the content in a |
Beta Was this translation helpful? Give feedback.
Hey, @andy-hook . Thank you for the answer, but your solution doesn't work if I wrap the content in a
DialogPrimitive.Portal
. Is that expected?