diff --git a/src/core/classes/tabs.ts b/src/core/classes/tabs.ts index bafe71197..7182606c4 100644 --- a/src/core/classes/tabs.ts +++ b/src/core/classes/tabs.ts @@ -247,7 +247,7 @@ export class CoreTabsBaseComponent implements OnInit, Aft await this.calculateMaxSlides(); - this.updateSlides(); + await this.updateSlides(); } /** @@ -624,7 +624,7 @@ export class CoreTabsBaseComponent implements OnInit, Aft protected windowResized(): void { setTimeout(() => { this.calculateSlides(); - }); + }, 200); } /**