MOBILE-3810 tabs: Disabled top tabs hide on scroll
This commit is contained in:
parent
a0687821ae
commit
57b5266198
@ -43,8 +43,9 @@ export class CoreTabsBaseComponent<T extends CoreTabBase> implements OnInit, Aft
|
|||||||
|
|
||||||
// Minimum tab's width.
|
// Minimum tab's width.
|
||||||
protected static readonly MIN_TAB_WIDTH = 107;
|
protected static readonly MIN_TAB_WIDTH = 107;
|
||||||
// Max height that allows tab hiding.
|
// @todo [4.0]
|
||||||
protected static readonly MAX_HEIGHT_TO_HIDE_TABS = 768;
|
// 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() selectedIndex = 0; // Index of the tab to select.
|
||||||
@Input() hideUntil = false; // Determine when should the contents be shown.
|
@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
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
ngOnChanges(changes: Record<string, SimpleChange>): void {
|
ngOnChanges(changes: Record<string, SimpleChange>): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user