MOBILE-3143 Tabs: Prevent tabs disappearing when scrolling down.

main
Mark Johnson 2019-09-11 09:20:56 +01:00
parent 3edc42ccc2
commit 4e590b26dc
1 changed files with 22 additions and 26 deletions

View File

@ -223,10 +223,8 @@ export class CoreTabsComponent implements OnInit, AfterViewInit, OnChanges, OnDe
return;
}
setTimeout(() => {
this.calculateMaxSlides();
this.updateSlides();
});
}
/**
@ -352,7 +350,6 @@ export class CoreTabsComponent implements OnInit, AfterViewInit, OnChanges, OnDe
this.slideChanged();
setTimeout(() => {
this.calculateTabBarHeight();
this.slides.update();
this.slides.resize();
@ -377,7 +374,6 @@ export class CoreTabsComponent implements OnInit, AfterViewInit, OnChanges, OnDe
setTimeout(() => {
this.updateAriaHidden(); // Slide's update() sets aria-hidden to true, update it.
}, 400);
});
}
protected calculateMaxSlides(): void {