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 4d84154 commit c35a5eeCopy full SHA for c35a5ee
ios/ReactNativePageView.m
@@ -256,7 +256,7 @@ - (void)goTo:(NSInteger)index animated:(BOOL)animated {
256
257
if (!isForward && diff > 0) {
258
for (NSInteger i=_currentIndex; i>=index; i--) {
259
- if (index == _currentIndex) {
+ if (index == _currentIndex || i == numberOfPages) {
260
continue;
261
}
262
[self goToViewController:i direction:direction animated:animated shouldCallOnPageSelected: i == index];
0 commit comments