react-native-picker-select icon indicating copy to clipboard operation
react-native-picker-select copied to clipboard

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

Open Prince-Mendiratta opened this issue 2 years ago • 3 comments

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

  • Device: OnePlus 8T
  • OS: Android 13
  • react-native-picker-select version: 8.0.4
  • expo sdk version: 47

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

Prince-Mendiratta avatar Apr 09 '23 10:04 Prince-Mendiratta

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

hardrese7 avatar Oct 05 '23 06:10 hardrese7

@Prince-Mendiratta any updates?

vladhelios avatar Feb 05 '24 09:02 vladhelios