Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: error on hitting Esc button #56

Closed
Saeid-Za opened this issue Mar 5, 2024 · 0 comments
Closed

[Bug]: error on hitting Esc button #56

Saeid-Za opened this issue Mar 5, 2024 · 0 comments

Comments

@Saeid-Za
Copy link
Contributor

Saeid-Za commented Mar 5, 2024

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
xiaoluoboding added a commit that referenced this issue Mar 6, 2024
fix: resolve #56 via checking for array type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant