lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.73k stars 491 forks source link

[Android] Hold and scroll down on the picker opens up the picker #505

Open Prince-Mendiratta opened 1 year ago

Prince-Mendiratta commented 1 year ago

Describe the bug
On android, when you press, hold and scroll on the picker input without releasing, the picker opens up immediately below the input.

To Reproduce
Steps to reproduce the behavior: You can use this expo: https://snack.expo.dev/@anubisxx/rnpickerselectbugreport

  1. Press and hold on the placeholder "Select an item".
  2. Scroll Down.
  3. Notice that the picker appears directly below the input, instead of showing a modal.
  4. Releasing the hold on an options selects that option and outside the picker closes the picker.

Expected behavior
Picker should not open on hold and scroll

Screenshots

https://user-images.githubusercontent.com/54077356/230768256-945297e6-5b4c-4505-989a-9d57a56feca9.mp4

Additional details

Reproduction and/or code sample
https://snack.expo.dev/@anubisxx/rnpickerselectbugreport?platform=android

hardrese7 commented 9 months ago

Hey, I have the same issue! is there any workaround to fix that?

vladhelios commented 5 months ago

@Prince-Mendiratta any updates?