picker icon indicating copy to clipboard operation
picker copied to clipboard

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

Open ddytert opened this issue 1 year ago • 3 comments

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.

ddytert avatar Jan 11 '24 13:01 ddytert

Having the same issue on RN 0.78.9...

zabojad avatar Jan 19 '24 15:01 zabojad

Same for us.

mthores avatar Jan 25 '24 07:01 mthores

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 :)

sbeigel avatar Jan 25 '24 08:01 sbeigel