marcocesarato / react-native-input-spinner

An extensible input number spinner component for react-native highly customizable. This component enhance a text input for entering numeric values, with increase and decrease buttons.
https://marcocesarato.github.io/react-native-input-spinner/
GNU General Public License v3.0
415 stars 34 forks source link

Cannot erase input and write a new one with the keyboard when min = 1 #24

Closed taeh98 closed 3 years ago

taeh98 commented 3 years ago

You cannot use the keyboard to erase the current value of a spinner and then input a new value when the spinner's min prop is 1. If you use the keyboard to erase the value of a spinner whose min = 1, 1 will then replace the empty input after a short delay (the placeholder is shown in the interim). This stops the user from being able to input a new value with the keyboard, since anything they type is overridden with 1. Please could you fix this?

taeh98 commented 3 years ago

I checked again and this issue is now fixed. I think I had an issue updating my version of the library for some reason. Apologies!