Open natanfoleto opened 2 months ago
some code would help. There are a few conditions in which this behavior would happen. For instance, a HOC setting the value and MaskedTextInput removing the non-numeric characters.
@natanfoleto ( and anyone else experiencing this ) I created an Expo Snack and was disappointed to find out that, this issue is inherited from react-native itself.
I'm using the currency mask, when I type very quickly the value has a delay to be set, and then the value is wrong. For the value to be correct I have to type very slowly, if I type quickly it puts the wrong value in the input.
In the video example, I use the value 30.50 as an example. First I type slowly and it is correct, but if I type quickly it is wrong, watch.
https://github.com/akinncar/react-native-mask-text/assets/39577730/795aa875-5423-4dee-8103-85a28ac25ccb