Skip to content

Commit ded6779

Browse files
authored
Merge pull request #2513 from crazyserver/MOBILE-3503
MOBILE-3503 tabs: Do not allow negative scrolls
2 parents 7de95dc + fb7b473 commit ded6779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tabs/tabs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ export class CoreTabsComponent implements OnInit, AfterViewInit, OnChanges, OnDe
493493
}
494494

495495
const scroll = parseInt(scrollElement.scrollTop, 10);
496-
if (scroll == 0) {
496+
if (scroll <= 0) {
497497
// Ensure tabbar is shown.
498498
this.topTabsElement.style.transform = '';
499499
this.originalTabsContainer.style.transform = '';

0 commit comments

Comments
 (0)