Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CTRL+X generates input events inconsistently #2831

Open
romainZzZzZ opened this issue Nov 28, 2024 · 0 comments
Open

CTRL+X generates input events inconsistently #2831

romainZzZzZ opened this issue Nov 28, 2024 · 0 comments

Comments

@romainZzZzZ
Copy link

romainZzZzZ commented Nov 28, 2024

Hello,
while using CTRL+X to cut content in an input, sometimes an input event is emitted, sometimes it is not.

A link to reproduce the issue : https://stackblitz.com/edit/stackblitz-starters-xffmy4?file=index.html

Then follow the different steps :

  • fill the input with values (e.g 123456789)
  • select all characters
  • cut the entire string (you should see a log for the input event)
  • paste
  • click somewhere outside the input to lose focus
  • paste the string in the input
  • cut another time (you should not see a log for the input event)

Tested on :

  • OS: MacOS 15.1.1
  • Browser: Arc Version 1.70.0 / Chrome 130.0.6723.117
  • Inputmask version 5.0.10-beta.11
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant