We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5478dce + 73549eb commit 96709e0Copy full SHA for 96709e0
src/bottomnavigationbar/bottomnavigationbar.ios.ts
@@ -141,7 +141,10 @@ export class BottomNavigationBar extends BottomNavigationBarBase {
141
});
142
this.nativeViewProtected.items = new NSArray({ array: bottomNavigationTabs });
143
144
- this.nativeViewProtected.selectedItem = this.nativeViewProtected.items[this.selectedTabIndex];
+ // TODO: this is for he v8 runtime. Should not have to need this setTimeout(), find better way.
145
+ setTimeout(() => {
146
+ this.nativeViewProtected.selectedItem = this.nativeViewProtected.items[this.selectedTabIndex];
147
+ }, 0);
148
}
149
150
protected selectTabNative(index: number): void {
0 commit comments