From 57b5266198d315263b7e9af0a085e0c0cb63c84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 17 Nov 2021 11:46:37 +0100 Subject: [PATCH] MOBILE-3810 tabs: Disabled top tabs hide on scroll --- src/core/classes/tabs.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/classes/tabs.ts b/src/core/classes/tabs.ts index d77ca5b4d..d2b593398 100644 --- a/src/core/classes/tabs.ts +++ b/src/core/classes/tabs.ts @@ -43,8 +43,9 @@ export class CoreTabsBaseComponent implements OnInit, Aft // Minimum tab's width. protected static readonly MIN_TAB_WIDTH = 107; - // Max height that allows tab hiding. - protected static readonly MAX_HEIGHT_TO_HIDE_TABS = 768; + // @todo [4.0] + // Max height that allows tab hiding. WARNING: Hide tabs on scroll disabled. If confirmed, remove the associated code. + protected static readonly MAX_HEIGHT_TO_HIDE_TABS = 0; @Input() selectedIndex = 0; // Index of the tab to select. @Input() hideUntil = false; // Determine when should the contents be shown. @@ -179,7 +180,7 @@ export class CoreTabsBaseComponent implements OnInit, Aft } /** - * Detect changes on input properties. + * @inheritdoc */ // eslint-disable-next-line @typescript-eslint/no-unused-vars ngOnChanges(changes: Record): void {