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
When updating the same toast via toast.id, the timer doesn't refresh so toast will disappear after the original duration expires. Should reset the timer per update.
The text was updated successfully, but these errors were encountered:
I'm not sure if it makes sense to reset the timer on update if a duration isn't passed with that update. What if my intention is to keep the toast for the same total duration, but update the appearance part of the way through? Would this still be possible?
Edit: meh maybe it does make sense, as it feels like the intuitive thing when updating to basically swap a toast with a new one.
When updating the same toast via toast.id, the timer doesn't refresh so toast will disappear after the original duration expires. Should reset the timer per update.
The text was updated successfully, but these errors were encountered: