-
Notifications
You must be signed in to change notification settings - Fork 529
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swipe problems in Modal [iOS 13] #473
Comments
Hey @m-ruhl, there are a lot of reported problems with interoperability between this library and react-navigation. Because of all the swipe gestures to navigate their library will often become the first responder when a user starts a gesture and I'm not sure if they allow you to override that? A quick search of the docs didn't reveal anything but maybe I missed something.. ? Sorry it's not a better answer |
This isn't specific to Wrapping the Swipe List in a try: <PanGestureHandler enabled={true}>
<SwipeListView
keyExtractor={(item, index) => item.identifier + String(index)}
onRowOpen={this.bindingOnRowOpen}
refreshing={false}
ListEmptyComponent={this.createEmptyComponent}
data={this.props.location.projectWeek}
renderItem={this.bindingRenderItem}
showsVerticalScrollIndicator={false}
disableRightSwipe={true}
rightOpenValue={-SwipeableWidth.DEFAULT}
recalculateHiddenLayout={true}
renderHiddenItem={this.bindingRenderHiddenItem}
/>
</PanGestureHandler> |
I try it, but still not working :( |
I'm having the same problem with react-native-modal in Android, if you are using react-native-modal, you need to make sure that the attribute swipeDirection="down" of react-native-modal is not enabled. It's a bit annoying, how can I achieve both swipe down gesture for the modal and swipe left/right of list view :( |
Hi @m-ruhl, did you find a solution for this? |
Quick solution of this is to disable the modal drag gesture, this way the swipe row will receive the gesture and will work accordingly. |
I'm having the same problem, but in my case is with TabView -> 'react-native-tab-view'. React Native: 0.72 Gravacao.do.ecra.2023-07-05.as.12.00.27.movthanks, |
Hello 馃憢
Describe the bug
If we use the swipe-list in a modal VC (iOS 13) we cannot swipe completely to the left.
We are using React-Native-Navigation 6.7.1
Environment (please complete the following information):
Any ideas to solve this problem?
Thanks
Michael
The text was updated successfully, but these errors were encountered: