Description
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:
- Put a picker onto a modal component
- 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>