-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Calendar: Global esc key listener with priority [600, 0] already exists #7220
Comments
@avasuro interested in looking into this one? |
I’ve submitted a PR to address this issue. @melloware |
Hello @melloware ! Do you know when it will be available ? or when next version will be published with this fix ? |
@noeesparsa i don't have any insight when PrimeTek does releases. Hopefully soon? |
Hi @melloware, will this bug be fixed in the newest version of primereact 10.8.4? |
Yes it will. Whenever 10.8.4 gets released... |
Describe the bug
I encountered an issue when using two Calendar components on the same page as time pickers. The error appears after selecting time in first calendar and move the focus to second calendars.
This issue happens when the Calendar component is used as a time picker, not only as a date picker.
Error: Unexpected: global esc key listener with priority [600, 0] already exists.
I believe the error is related to the
useGlobalOnEscapeKey
hook, which may be misconfigured or have a bug affecting the Calendar component's behavior.Reproducer
https://stackblitz.com/edit/stackblitz-starters-tuzydi?file=app%2Fpage.tsx
System Information
Steps to reproduce the behavior
Expected behavior
The calendars should function independently as time pickers without triggering any errors.
The text was updated successfully, but these errors were encountered: