Open vikramsoni2 opened 2 months ago
I also have the same issue.
Use setTimeout to add interval between them. e.g.
const sleep = ms => new Promise(r => setTimeout(r, ms))
const addToasts = async (items) => {
for (const item of items) {
addToast(item)
await sleep(1)
}
}
try to run 3 toasts in a loop.
it just shows one toast and the other toasts are in html but behind the first toast, and it does not expand on hover. the first toast just moves a little bit when hovered.