MOBILE-3320 tabs: Try to fix tabs width after orientation change
parent
dd2eb1fc97
commit
ac9e87727a
|
@ -247,7 +247,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
|
|||
|
||||
await this.calculateMaxSlides();
|
||||
|
||||
this.updateSlides();
|
||||
await this.updateSlides();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -624,7 +624,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
|
|||
protected windowResized(): void {
|
||||
setTimeout(() => {
|
||||
this.calculateSlides();
|
||||
});
|
||||
}, 200);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue