-
-
Notifications
You must be signed in to change notification settings - Fork 673
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
how to dismiss immediately without animation? #1098
Comments
I think you can custom a style when the Transition exit. |
the reason I do this is because the second and first toast will take up too much view space, so I have to quickly turn off the previous toast without animation so that the second toast takes up the first position and space. my temporary approach is to remove the previous toast directly from DOM tree before the second toast show up. avoid occluding more view space. |
Okay, I understand what you are meaning. You hope the action of toast is dismissing the oldest toast and adding the newest toast into the container of toasts which has |
good, your idea is better. something like this. Record_2024_04_20_10_47_29_525.mp4 |
It is my pleasure to help you achieve success. 😄 |
The text was updated successfully, but these errors were encountered: