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 e667508 commit a27cf69Copy full SHA for a27cf69
src/ui-pager/index.ios.ts
@@ -380,6 +380,7 @@ export class Pager extends PagerBase {
380
}
381
// dispatch_async(main_queue, () => {
382
if (this.mDataSource.collectionViewNumberOfItemsInSection(this.nativeViewProtected, 0) > maxMinIndex) {
383
+ this.nativeViewProtected.setContentOffsetAnimated(CGPointMake(1, 0), !!animate)
384
this.nativeViewProtected.scrollToItemAtIndexPathAtScrollPositionAnimated(
385
NSIndexPath.indexPathForItemInSection(maxMinIndex, 0),
386
this.orientation === 'vertical' ? UICollectionViewScrollPosition.CenteredVertically : UICollectionViewScrollPosition.CenteredHorizontally,
0 commit comments