MOBILE-3503 tabs: Do not allow negative scrolls
parent
bdbba2885e
commit
fb7b473260
|
@ -488,7 +488,7 @@ export class CoreTabsComponent implements OnInit, AfterViewInit, OnChanges, OnDe
|
|||
}
|
||||
|
||||
const scroll = parseInt(scrollElement.scrollTop, 10);
|
||||
if (scroll == 0) {
|
||||
if (scroll <= 0) {
|
||||
// Ensure tabbar is shown.
|
||||
this.topTabsElement.style.transform = '';
|
||||
this.originalTabsContainer.style.transform = '';
|
||||
|
|
Loading…
Reference in New Issue