MOBILE-3143 Tabs: Prevent tabs disappearing when scrolling down.
parent
3edc42ccc2
commit
4e590b26dc
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue