Skip to content

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

@MicaelRodrigues

Description

@MicaelRodrigues

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions