MOBILE-3810 tabs: Disabled top tabs hide on scroll
parent
a0687821ae
commit
57b5266198
|
@ -43,8 +43,9 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> 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<T extends CoreTabBase> implements OnInit, Aft
|
|||
}
|
||||
|
||||
/**
|
||||
* Detect changes on input properties.
|
||||
* @inheritdoc
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
ngOnChanges(changes: Record<string, SimpleChange>): void {
|
||||
|
|
Loading…
Reference in New Issue