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 f82f1ab commit 715fe70Copy full SHA for 715fe70
ios/ReactNativePageView.m
@@ -265,7 +265,7 @@ - (void)goTo:(NSInteger)index animated:(BOOL)animated {
265
if (!isForward && diff > 0) {
266
for (NSInteger i=_currentIndex; i>=index; i--) {
267
// Prevent removal of one or many pages at a time
268
- if (index == _currentIndex || i >= numberOfPages) {
+ if (i == _currentIndex || i >= numberOfPages) {
269
continue;
270
}
271
[self goToViewController:i direction:direction animated:animated shouldCallOnPageSelected: i == index];
0 commit comments