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] - NumberInput onChange event not happening when keyboard arrows are pressed #4874

Closed
juandiegotroconis opened this issue Feb 20, 2025 · 1 comment · Fixed by #4907
Closed
Assignees
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working

Comments

@juandiegotroconis
Copy link

HeroUI Version

2.7.2

Describe the bug

The new NumberInput component is not triggering the onChange event when users press the UP and DOWN keys on the keyboard to change the input value.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Use the onChange event instead of the onValueChange and use the UP and DOWN keys to change the value. It does trigger when typing the number but not when using the arrows on your keyboard.

Expected behavior

As a dev I expect the UP and DOWN key press to trigger the onChange function.

Screenshots or Videos

No response

Operating System Version

Windows

Browser

Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants