RobinHerbots/Inputmask

CTRL+X generates input events inconsistently

romainZiba opened this issue · 0 comments

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