-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] - onClick handler is not triggered when activating <Button> with keyboard. #3425
Comments
Similar discussion was abruptly closed before without any solution #426 |
No Access |
|
@wingkwong For future iterations, Is it possible to show a |
I remember i've seen in code. need to double check tho. they will be removed eventually. |
NextUI Version
2.4.2
Describe the bug
As a generic button, the button clicks should be triggered on Spacebars and Enters when onFocus.
"@nextui-org/react": "^2.4.2",
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Go to any page with component.
Set focus on (for example, by tabbing).
Press Spacebar or Enter key.
onClick handler is not triggered, however button shows ":active" state.
Expected behavior
onClick handler is triggered as it normally happens for element in React.
Expected behavior
onClick handler is triggered as it normally happens for
element in React.Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: