You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Global toast list has a dismiss bug, when i add two or more toast in same time to the list.
EUI version: all
React version: all
Kibana version (if applicable): -
Browser: all
Operating System: all
Steps to reproduce the behavior:
add multiple toost in same time to te list with same timeout.
The dismissToast function will be run only for the last toast caused by "status override".
All toast has dismissed class, but not deleted from DOM.8 And because of the div is clickable, this will be hides the content.
Activity
mgadewoll commentedon Apr 23, 2025
Thanks for raising this @tomitank!
I can confirm that this is reproducible when multiple toasts are added and removed at the same time.
Screen.Recording.2025-04-23.at.19.00.29.mov
I think we can fix this by handling an array of toasts instead of a single dismissible toast here.
Screen.Recording.2025-04-23.at.19.02.03.mov
[-]Toastlist dismiss error[/-][+][EuiGlobalToastList] dismiss error[/+]