MOBILE-3320 tabs: Try to fix tabs width after orientation change

This commit is contained in:
Dani Palou 2021-06-03 09:16:40 +02:00
parent dd2eb1fc97
commit ac9e87727a

View File

@ -247,7 +247,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
await this.calculateMaxSlides(); await this.calculateMaxSlides();
this.updateSlides(); await this.updateSlides();
} }
/** /**
@ -624,7 +624,7 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
protected windowResized(): void { protected windowResized(): void {
setTimeout(() => { setTimeout(() => {
this.calculateSlides(); this.calculateSlides();
}); }, 200);
} }
/** /**