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

[BUG][Web] Dialog not allowing to animate exit #632

Open
MicaelRodrigues opened this issue Mar 20, 2023 · 0 comments
Open

[BUG][Web] Dialog not allowing to animate exit #632

MicaelRodrigues opened this issue Mar 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@MicaelRodrigues
Copy link
Contributor

MicaelRodrigues commented Mar 20, 2023

Describe the bug
When the isOpen is false destroys the react portal, none of the components that use Dialog are able to perform an exit animation -> A good example is the Drawer

To Reproduce
1 - Open a Dialog|Drawer|BottomSheet
2 - Close it

Expected behavior
Portal stays mounted while isOpen prop is changing, and if set, an exit animation performs

Screenshots

Screen.Recording.2023-03-20.at.17.36.46.mov

Additional context
Add any other context about the problem here.

@MicaelRodrigues MicaelRodrigues added the bug Something isn't working label Mar 20, 2023
@MicaelRodrigues MicaelRodrigues changed the title [BUG] Dialog not allowing to animate exit [BUG][Web] Dialog not allowing to animate exit Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant