Skip to content

Commit 59c55a8

Browse files
committed
fix(ios): correctly apply transformer if start index is not 0
1 parent e509e99 commit 59c55a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui-pager/index.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ class UICollectionDelegateImpl extends NSObject implements UICollectionViewDeleg
856856
if (owner) {
857857
if (!owner.mIsInit) {
858858
owner._updateScrollPosition();
859+
collectionView.collectionViewLayout.invalidateLayout();
859860
owner.mIsInit = true;
860861
}
861862
if (owner.items && indexPath.row === owner.lastIndex - owner.loadMoreCount) {

0 commit comments

Comments
 (0)