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

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

Open
FelixBaum opened this issue Jan 7, 2022 · 1 comment
Open

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

FelixBaum opened this issue Jan 7, 2022 · 1 comment

Comments

@FelixBaum
Copy link

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>

@wanted6610
Copy link

finded solution?

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

2 participants