-
-
Notifications
You must be signed in to change notification settings - Fork 410
Open
Labels
design: uxRelated to End-users' experience.Related to End-users' experience.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Steps to reproduce
Steps:
- Open this link to live example: https://codesandbox.io/p/sandbox/blissful-wave-wqccx9
- Click on the buttons.
Also observable on the main docs, though it is less noticeable with the default grow transition: https://mui.com/toolpad/core/react-use-notifications/#api
Current behavior
Transition is only applied on mount. On unmount, the element just disappears.
Expected behavior
Notification should use the same transition to unmount as it does to mount.
Context
No response
Your environment
- Skipping this since this is extremely easy to reproduce.
Search keywords: Snackbar, Notification, useNotification, transition
Metadata
Metadata
Assignees
Labels
design: uxRelated to End-users' experience.Related to End-users' experience.type: bugIt doesn't behave as expected.It doesn't behave as expected.