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

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

Open
Prince-Mendiratta opened this issue Apr 9, 2023 · 3 comments

Comments

@Prince-Mendiratta
Copy link

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

2023-04-09.16-17-07.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

@hardrese7
Copy link

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

@vladhelios
Copy link

@Prince-Mendiratta any updates?

@hardrese7
Copy link

it seems the problem is related to @react-native-picker/picker library, which react-native-picker-select uses under the hood. I have created an issue in their repo react-native-picker/picker#581

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

3 participants