Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selected value jumps back to first value when "Done" is tapped - Picker library v2.6.1, iOS only #540

Open
ddytert opened this issue Jan 11, 2024 · 3 comments

Comments

@ddytert
Copy link

ddytert commented Jan 11, 2024

We recently updated the picker library in our ReactNative app to version 2.6.1. We have now encountered a bug when selecting a value with the picker wheel on iOS devices.
When we tap the 'done' button, the wheel spins back to the first value and it is selected. The spinning back happens before 'onValueChange' is called, so we can't intercept and read the value before it is reset.

@zabojad
Copy link

zabojad commented Jan 19, 2024

Having the same issue on RN 0.78.9...

@mthores
Copy link

mthores commented Jan 25, 2024

Same for us.

@sbeigel
Copy link

sbeigel commented Jan 25, 2024

Same and it's caused by #538 (at least for me).

You could change your code to only use string values (and add the necessary conversions) but I strongly hope that #538 gets fixed soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants