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
Its difficult to show this but sometimes if i trigger toasts in quick succession, they visually stack as expected but then do not 'unstack' when i hover over them. This only seems to happen if they are triggered/created in very quick succession (which can sometimes be difficult to avoid if they are being triggered by background activities which are happening at random intervals)
The text was updated successfully, but these errors were encountered:
A workaround for this "bug" is to wrap the creation of the toast in a setTimeOut, even with 0ms it fix the bug.
Here a reproduction of the unstack bug with the latest version :
consttoastConfig=[{title: 'warning toast',description: 'ceci est une warning',},{title: 'warning toast',description: 'ceci est un warning',},];for(leti=0;i<toastConfig.length;i++){constconfig=toastConfig[i];toast.warning(config.title,{description: config.description,});}
If you add a setTimeOut, the unstack works as expected :
Its difficult to show this but sometimes if i trigger toasts in quick succession, they visually stack as expected but then do not 'unstack' when i hover over them. This only seems to happen if they are triggered/created in very quick succession (which can sometimes be difficult to avoid if they are being triggered by background activities which are happening at random intervals)
The text was updated successfully, but these errors were encountered: