Skip to content

[Bug]: error on hitting Esc button #56

@Saeid-Za

Description

@Saeid-Za

When a sonner component is used in page, whenever user hits escape button from keyboard, an error is logged in console:

Uncaught TypeError: te.contains is not a function

Reproduction Steps:

  1. go to sooner demo page
  2. focus the page if not focued
  3. git esc button
  4. open console tab in browser

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