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

Button: Global esc key listener with priority [1200, 0] already exists #7436

Open
ama00527 opened this issue Nov 20, 2024 · 0 comments
Open
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@ama00527
Copy link

ama00527 commented Nov 20, 2024

Describe the bug

Bug
Getting Unexpected error while using Buttons.

This error Apperas when we have multiple Button on same Page. with tooltip.

Error: Unexpected: global esc key listener with priority [1200, 0] already exists.
image

Reproducer

https://stackblitz.com/edit/jwcn6o?file=src%2FApp.jsx

System Information

System:
OS Name:Microsoft Windows 11 Pro
OS Manufacturer:Microsoft Corporation
Processor:  12th Gen Intel(R) Core(TM) i7-12800H, 2400 Mhz, 14 Core(s), 20 Logical Processor(s)

Binaries:
    Node: 20.17.0 - /usr/local/bin/node
    npm: 10.8.2 - /usr/local/bin/npm
Browser:
Chrome
Version 131.0.6778.70 (Official Build) (64-bit)
 npmPackages:
    primereact: ^10.8.5 
    react: 17.0.2

Steps to reproduce the behavior

1 . Godo primeReact homepage
2. Search for Tooltip
3. Find the Delay Button
4: open StackBliz for that code
5: Add multiple button
6. Check the console.log of stackBliz the unexpeced error will be logged

Expected behavior

If a page have multiple button its expected as for Accessibility tester to use Escape key to close the tooltip using Escape

@ama00527 ama00527 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant