[Custom Input Masks] Mask currency doesn't work on smartphone
Forge component by Sara Gonçalves


I'm using the currency mask in an editable table. When I am on the computer it works correctly but when I access from my smartphone, I can not delete the contents of the input, because the backspace does not work, it is doubling the number instead of deleting it.


Hi Sofia,

Not entirely sure if it's the same issue, but...

Android browser does not handle very well the keycodes from the events such as keydown. And since the CustomMasks component uses keycodes to detect backspaces, deletes and others, maybe that's the reason why it does not work in your smartphone.

You can read it here (if you have the time :) : https://bugs.chromium.org/p/chromium/issues/detail?id=118639

If you do a search in google, there are a few solutions to specific situations.



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.