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

[iOS] Scrolling through items swipes parent modal up and down

Open FelixBaum opened this issue 3 years ago • 1 comments

Describe the bug
I have several pickers in a modal component and everytime I open the picker on iOS and scroll through the list of items, the modal component will reflect the swipe gesture.

To Reproduce
Steps to reproduce the behavior:

  1. Put a picker onto a modal component
  2. Open the picker and scroll through the items

Expected behavior
The modal component should not reflect the swipe gesture.

Screenshots
Here is a video of the issue: https://user-images.githubusercontent.com/12943469/148595036-73535324-fd7d-4671-ba6c-cd831f55a84a.mov

Additional details

  • Device: iPhone 11
  • OS: 15.0.2
  • react-native-picker-select version: 8.0.4
  • react-native version: 0.65.1

Reproduction and/or code sample
import Modal from 'react-native-modal';

<Modal swipeDirection={['up', 'left', 'right', 'down']} isVisible={true} animationIn="slideInUp" animationOut="slideOutDown"> <View> <RNPickerSelect value={selectedItem?.value} items={items} onValueChange={onValueChanged}/> </View> </Modal>

FelixBaum avatar Jan 07 '22 19:01 FelixBaum

finded solution?

wanted6610 avatar Jul 21 '22 12:07 wanted6610