Skip to content

Add generic onOpen and onClose event handles to ToastContainer #1059

@jonluca

Description

@jonluca

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

Activity

fkhadra

fkhadra commented on Nov 25, 2024

@fkhadra
Owner

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

jonluca

jonluca commented on Nov 25, 2024

@jonluca
Author

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @fkhadra@jonluca

      Issue actions

        Add generic onOpen and onClose event handles to ToastContainer · Issue #1059 · fkhadra/react-toastify