githuboftigran / rn-range-slider

A native slider with range
MIT License
237 stars 133 forks source link

Range Slider diaplays wrong value when max value is more than or equal to 10000000000 in IOS #38

Closed ppv94 closed 4 years ago

ppv94 commented 4 years ago

"react-native": "0.61.5", "rn-range-slider": "^1.3.0"

I am using rn-range-slider in my application, It works fine in android but in IOS when the value is more than or equal to 10000000000 is displaying the wrong value in the label, But when we slide in onValueChanged I am getting correct value of slide point.

minValue: 108174, maxValue: 2856400000 It shows minus values in as shown in below image.

Screen Shot 2020-01-27 at 11 21 11 AM

if minValue: 108174, maxValue: 285640000 It shows correct value in lable in as shown in below image.

Screen Shot 2020-01-27 at 11 24 11 AM

It works fine in android but it shows wrong value in label in IOS.

githuboftigran commented 4 years ago

@ppv94 , just fixed in 1.3.1