Notice that the picker appears directly below the input.
Expected behavior:
The picker should not open when holding and scrolling.
Actual behavior:
The picker appears directly below the input when holding and scrolling.
Demo:
Why is it important?
It used to work this way for ages, and we could live with that; but something recently broke, and and now changing the picker in this manner doesn't trigger the onValueChange event. It seems, it was broken in 2.5.0.
I suggest fixing this issue and adding a flag to disable this behavior, as it can lead to unintentional value changes by users during scrolling.
Describe the bug
On Android, when you press, hold, and scroll on the picker input without releasing, the picker opens immediately below the input.
Steps to reproduce the behavior: use snack: https://snack.expo.dev/@hardrese7/react-native-picker-issue
Expected behavior: The picker should not open when holding and scrolling.
Actual behavior: The picker appears directly below the input when holding and scrolling.
Demo:
Why is it important? It used to work this way for ages, and we could live with that; but something recently broke, and and now changing the picker in this manner doesn't trigger the
onValueChange
event. It seems, it was broken in 2.5.0.I suggest fixing this issue and adding a flag to disable this behavior, as it can lead to unintentional value changes by users during scrolling.