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.
1 parent 37951f5 commit 984f648Copy full SHA for 984f648
src/bottomnavigationbar/bottomnavigationbar.ios.ts
@@ -152,7 +152,11 @@ export class BottomNavigationBar extends BottomNavigationBarBase {
152
return tab;
153
});
154
this.nativeViewProtected.items = new NSArray({ array: bottomNavigationTabs });
155
- this.nativeViewProtected.selectedItem = this.nativeViewProtected.items[this.selectedTabIndex];
+
156
+ // TODO: this is for he v8 runtime. Should not have to need this setTimeout(), find better way.
157
+ setTimeout(() => {
158
+ this.nativeViewProtected.selectedItem = this.nativeViewProtected.items[this.selectedTabIndex];
159
+ }, 0);
160
}
161
162
protected selectTabNative(index: number): void {
0 commit comments