Skip to content

Passing an id to the toast function prevents dismissal using the returned id. #146

@wattanx

Description

@wattanx

Description

Passing an id to the toast function prevents dismissal using the returned id.

With sonner-react, it can be dismissed without any issues.

Reproduction

sonner vue
https://stackblitz.com/edit/vitejs-vite-ekmqm6mt

sonner react

https://stackblitz.com/edit/vitejs-vite-etfvdyz8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions