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

[BUG] When the drop down is opened and the user tries to scroll, the drop down "floats"

Open sizuf opened this issue 1 year ago • 0 comments

Describe the bug When nested inside ScrollView and the drop down is opened, if the user tries to scroll, the drop down "floats", i.e doesn't stay attached. Can be seen better on the videos bellow.

To Reproduce Steps to reproduce the behavior:

  1. Create a ScrollView component.
  2. Add Select inside.
  3. Add some options to the select.
  4. While the drop down is opened, try to scroll outside.

Expected behavior The drop down should not move.

Video

https://github.com/MobileReality/react-native-select-pro/assets/12835449/b8cb2eff-a907-4673-b47c-629453bc009e

https://github.com/MobileReality/react-native-select-pro/assets/12835449/29b16ff9-bd57-4ed9-b594-ac32b713e6e2

Environment (please complete the following information):

  • OS: iOS/Android
  • OS Version: iOS 17, Android 14, but probably affects all versions
  • React Native Version: v0.73.6

sizuf avatar Jul 03 '24 19:07 sizuf