Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Persistent toasts #375

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

dbuezas
Copy link

@dbuezas dbuezas commented Dec 3, 2023

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.

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.
@luc-github
Copy link
Owner

good catch

@luc-github luc-github merged commit 2eeb6e1 into luc-github:3.0 Dec 4, 2023
1 check passed
@luc-github
Copy link
Owner

Merged thank you

@luc-github
Copy link
Owner

@all-contributors please add @dbuezas for code update and bug

Copy link
Contributor

@luc-github

I've put up a pull request to add @dbuezas! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants