Skip to content

Commit 658e9c2

Browse files
committed
fix(ios): ensure all templates are registered
1 parent de128d6 commit 658e9c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ui-pager/index.ios.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ export class Pager extends PagerBase {
9999
nativeView.showsHorizontalScrollIndicator = false;
100100
nativeView.showsVerticalScrollIndicator = false;
101101
nativeView.decelerationRate = UIScrollViewDecelerationRateFast;
102+
this._itemTemplatesInternal.forEach((t) => {
103+
nativeView.registerClassForCellWithReuseIdentifier(PagerCell.class(), t.key);
104+
});
102105
return nativeView;
103106
}
104107

0 commit comments

Comments
 (0)