Cannot read properties of undefined (reading 'toFixed')
rwilliamson1 opened this issue · 4 comments
rwilliamson1 commented
Environment
- which version of react & react-native are you using?
- react: 18.3.1
- react-native: 0.74.2
- react-native-web: 0.19.10
Description
When the slider is used with a step prop, when it is moved down to 0 it causes the error "Cannot read properties of undefined (reading 'toFixed')"
Reproducible Demo
The combination of using the step prop with the value going from a positive value down to 0 causes the error.
https://snack.expo.dev/jlLsyHnEs_ZzE3sODCTSB
tmizu23 commented
I'm experiencing the same issue. It was working fine up to v4.4.2. The problem started occurring after updating to v4.4.3.
events-jonas-chrisw commented
having the same problem here...
events-jonas-chrisw commented
events-jonas-chrisw commented
is this fixed - I still get an error when setting the slider to 0.
I have had to revert to 4.4.2
ah...hasn't been released yet.....