Toast: wrong toast animates on dismiss, remaining toasts snap upward
Environment
- Package version(s):
@blueprintjs/core ^5.x
- Operating System: Mac Sonoma
- Browser name and version: Chrome 147.0.7727.138
Code Sandbox
Steps to reproduce
- Navigate to https://blueprintjs.com/docs/#core/components/toast
- Create more than one toast
- Dismiss any toast that is not the most recent one to appear
Actual behavior
- Notice that for a brief moment, the toast that appears to be dismissed is the most recent toast, before it corrects itself
- Remaining toasts snap upward without any animation.
Expected behavior
The correct toast fades out and its occupied space collapses smoothly over the animation duration, so remaining toasts flow upward continuously with no snap.
Possible solution
Toast: wrong toast animates on dismiss, remaining toasts snap upward
Environment
@blueprintjs/core^5.xCode Sandbox
Steps to reproduce
Actual behavior
Expected behavior
The correct toast fades out and its occupied space collapses smoothly over the animation duration, so remaining toasts flow upward continuously with no snap.
Possible solution