-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Cannot read properties of undefined (reading 'props') at deleteToast #1053
Comments
Any solution on this? |
Same issue here |
Same |
same issue here |
same |
bump |
wherever in your code you want to manually close the toast just put this code(mine worked) - if (toast.isActive(null)) { // Check if any toast is active
toast.dismiss();
} else {
console.warn("Toast not found for dismissal");
} |
For me, the issue was:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛Bug
This error appears on v10.0.0 and above, and is triggered when the toast is dismissed immediately after rendering.
This is a similar issue to one that was previously fixed in v9.1.3 but it has now appeared again. I have tested on v9.1.3 with no issues.
v9.1.3's release note:
Basic example:
The text was updated successfully, but these errors were encountered: