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

Unable to enter a value from the numeric keypad #864

Open
sirsimon opened this issue May 19, 2023 · 0 comments
Open

Unable to enter a value from the numeric keypad #864

sirsimon opened this issue May 19, 2023 · 0 comments
Labels

Comments

@sirsimon
Copy link

Describe the bug
I can't set new inputs values (range) from numpad. Numpads keys are ignored because of this condition:
https://github.com/nhn/tui.image-editor/blob/master/apps/image-editor/src/js/ui/tools/range.js#L242
Numpad numbers keys have different keyCode from 96 to 105, instead of regular numbers keycode from 48 to 57.

To Reproduce
Try to change the input value by numpad key.

Expected behavior
Possibility to set number value from numpad.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 113.0.5672.127
@sirsimon sirsimon added the Bug label May 19, 2023
@sirsimon sirsimon changed the title Impossible to write value from numpad Unable to enter a value from the numeric keypad May 19, 2023
sirsimon added a commit to sirsimon/tui.image-editor that referenced this issue Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant