-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
not plannedThe problem seems valid, but we don't intend to fix it (won't fix).The problem seems valid, but we don't intend to fix it (won't fix).scope: tabsChanges related to the tabs.Changes related to the tabs.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Description
Summary
I find it to useful to have a tab selector that has a full height TabIndicator that does not block the tab's icon and label. This can be accomplished in userspace by overriding the classes below, but is there any reason that the TabIndicator position should not be behind the icon and label by default? Possibly even go as far as having a tabIndicatorFullHeight option on the Tab component?
tabIndicator: {
height: '100%',
zIndex: 0,
},
labelContainer: {
zIndex: 1,
},
rootLabelIcon: {
zIndex: 1,
},
Expected Behavior
I would expect the TabIndicator to not block the text and icon and show up behind them when the TabIndicator height causes it to overlap the text and icon.
Current Behavior
Currently when the TabIndicator height is set to a value that will overlap the text and icon, the TabIndicator blocks the text and icon.
Metadata
Metadata
Assignees
Labels
not plannedThe problem seems valid, but we don't intend to fix it (won't fix).The problem seems valid, but we don't intend to fix it (won't fix).scope: tabsChanges related to the tabs.Changes related to the tabs.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.