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

Closed
ama00527 opened this issue Nov 20, 2024 · 0 comments · Fixed by #7533
Closed

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

ama00527 opened this issue Nov 20, 2024 · 0 comments · Fixed by #7533
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

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
@melloware melloware self-assigned this Dec 30, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 30, 2024
@melloware melloware added this to the 10.8.6 milestone Dec 30, 2024
melloware added a commit to melloware/primereact that referenced this issue Dec 30, 2024
melloware added a commit to melloware/primereact that referenced this issue Dec 30, 2024
melloware added a commit to melloware/primereact that referenced this issue Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants