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

Add generic onOpen and onClose event handles to ToastContainer #1059

Closed
jonluca opened this issue Feb 6, 2024 · 2 comments · May be fixed by #1060
Closed

Add generic onOpen and onClose event handles to ToastContainer #1059

jonluca opened this issue Feb 6, 2024 · 2 comments · May be fixed by #1060

Comments

@jonluca
Copy link

jonluca commented Feb 6, 2024

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

There are no event handlers on

It would be nice to able to log every toast that appears

@fkhadra
Copy link
Owner

fkhadra commented Nov 25, 2024

Closing as this can be accomplished on outside the library with toast.onChange

@fkhadra fkhadra closed this as completed Nov 25, 2024
@jonluca
Copy link
Author

jonluca commented Nov 25, 2024

https://github.com/fkhadra/react-toastify/pull/1060/files this is the implementation I was talking about. But sounds good, no worries

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 a pull request may close this issue.

2 participants