We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63ba5b8 commit aee272cCopy full SHA for aee272c
ios/RNCPagerScrollView.m
@@ -16,6 +16,7 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecogni
16
UIUserInterfaceLayoutDirection layoutDirection = [UIView userInterfaceLayoutDirectionForSemanticContentAttribute:self.semanticContentAttribute];
17
BOOL isLTR = UIUserInterfaceLayoutDirectionLeftToRight == layoutDirection;
18
BOOL isBackGesture = (isLTR && velocity.x > 0) || (!isLTR && velocity.x < 0);
19
+ // if it's back gesture and scroll view is at the beginning of scroll we allow simultaneous gesture
20
if (isBackGesture && self.contentOffset.x <= 0) {
21
return YES;
22
}
0 commit comments