We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e07e38 commit 4675e83Copy full SHA for 4675e83
ios/Fabric/RNCPagerViewComponentView.mm
@@ -326,7 +326,7 @@ - (void)scrollViewDidScroll:(UIScrollView *)scrollView {
326
NSInteger position = self.currentIndex;
327
328
BOOL isHorizontalRtl = [self isHorizontalRtlLayout];
329
- BOOL isAnimatingBackwards = offset<0;
+ BOOL isAnimatingBackwards = isHorizontalRtl ? offset > 0.05f : offset < 0;
330
331
if (scrollView.isDragging) {
332
_destinationIndex = isAnimatingBackwards ? _currentIndex - 1 : _currentIndex + 1;
0 commit comments