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.
2 parents d954e0e + bb5c7f1 commit 1b361f8Copy full SHA for 1b361f8
1 file changed
src/ui-pager/index.ios.ts
@@ -280,8 +280,11 @@ export class Pager extends PagerBase {
280
281
_updateScrollPosition() {
282
const view = this.nativeViewProtected;
283
+ if(!view){
284
+ return;
285
+ }
286
const size = this.orientation === 'vertical' ? view.contentSize.height : view.contentSize.width;
- if (!view || size === 0) {
287
+ if (size === 0) {
288
return;
289
}
290
this.scrollToIndexAnimated(this.selectedIndex, false);
0 commit comments