erksch / react-native-wheely

An all JavaScript wheel picker for react-native without any native code.
413 stars 59 forks source link

bugfix: wrong selected value in different fontSize/itemHeight #55

Open aliunco opened 1 year ago

aliunco commented 1 year ago

If you are using certain functionalities to enable responsive design, such as scaled font sizes, height adjustments, and boundaries, you may encounter bugs where incorrect values are passed through the onChange function.

In this branch, I have optimized the calculation of this value and eliminated the bug. 🙃

Thanks for reviewing this PR (in advance)

tranminhkhang7 commented 5 months ago

Pls refer to this issue. That solves my problem:

https://github.com/erksch/react-native-wheely/issues/49