Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

inputEventOnly: true causes clearing input to not work on the first attempt

Open xisabao opened this issue 1 year ago • 0 comments

  • Describe the bug

I implemented the suggested fix for issues with Chinese/Japanese keyboards (inputEventOnly: true) but now I'm having issues with being able to clear input fields. As you can see in the video below, now, with this option set, if you try to select all the text and hit delete to clear all of it, there is always the last character left in the input field and the field is not registered as being "cleared." This behavior doesn't occur with inputEventOnly: false. Is there any option to have the Chinese/Japanese/etc. keyboards work but also not have this issue with clearing occur? Thanks.

https://user-images.githubusercontent.com/12002452/179812843-eb1d3701-5afb-44a5-8836-c268dc43f29f.mov

  • OS: Mac OS
  • Browser: Chrome
  • Inputmask version: 5.0.6

xisabao avatar Jul 19 '22 17:07 xisabao