Skip to content

Toast doesn't perform dedup as stated in the docs #3609

@codetheweb

Description

@codetheweb

🐛 Bug report

On the docs page for the Toast component, it says that the id prop is

Mostly used when you need to prevent duplicate.

However, duplicate toasts can be created when passing the ID.

💥 Steps to reproduce

  1. Click "Click me!" multiple times.

💻 Link to reproduction

For some reason, it's not rendering correctly in the sandbox; so I deployed it to Vercel.

🧐 Expected behavior

Duplicate IDs are ignored.

🌍 System information

Software Version(s)
Chakra UI 1.3.4
Browser Firefox 86
Operating System macOS 11.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions