We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c58f7cf commit fd3ba74Copy full SHA for fd3ba74
src/tabs/tabs.android.ts
@@ -482,7 +482,9 @@ export class Tabs extends TabsBase {
482
}
483
onSelectedIndexChanged(oldIndex: number, newIndex: number) {
484
const tabBarImplementation = (this._tabsBar as unknown) as PositionChanger;
485
- tabBarImplementation.onSelectedPositionChange(oldIndex, newIndex);
+ if (tabBarImplementation) {
486
+ tabBarImplementation.onSelectedPositionChange(oldIndex, newIndex);
487
+ }
488
super.onSelectedIndexChanged(oldIndex, newIndex);
489
490
0 commit comments