Closed dbuezas closed 7 months ago
When the tab is in the background for long enough, the timeouts pile up and then get all called at once. This resulted in in a stale toastsRef.current array.
good catch
Merged thank you
@all-contributors please add @dbuezas for code update and bug
@luc-github
I've put up a pull request to add @dbuezas! :tada:
When the tab is in the background for long enough, the timeouts pile up and then get all called at once. This resulted in in a stale toastsRef.current array.