Skip to content

Make ToastMessages onMessageDismiss prop receive the message object #1273

@acelaya

Description

@acelaya

As implemented in #1272, the onMessageDismiss prop is a callback that receives the message to be dismissed id.

This is consistent to how frontend apps have been using this kind of component, but requires duplicating extra logic in order to determine which message was dismissed.

For next major release we want to change this so that the whole message is passed to the callback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions