Skip to content

Missing collapse animation when swiping to dismiss #500

@Pogodaanton

Description

@Pogodaanton

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
The toast is dismissed and immediately removed from the DOM tree.

Screen Recording 2020-06-19 at 17 36 40

What is the expected behavior?
After successfully swiping away the toast should play a collapse animation unless the user explicitly disabled it.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
It seems like this bug appeared while refactoring the project to support react-hooks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions