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
414 stars 34 forks source link

Fix spinner for ranges that span 0 #63

Closed dougbradbury closed 2 years ago

dougbradbury commented 2 years ago

define 0 as not an empty value. This Util function caused ranges that cross 0 to go haywire by setting the value to the minValue when it hit 0.

Fixes #60

marcocesarato commented 2 years ago

Thanks for your pull request is much appreciated. I will release it soon.

dougbradbury commented 2 years ago

Great! Let me know so I can switch back to your distribution!

marcocesarato commented 2 years ago

Great! Let me know so I can switch back to your distribution!

Released, thank you again for the pull request.