You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
tabs: with "md-center-tabs" has layout issues #11566
md-tabs with md-center-tabs="true" does not show tabs at all. It's easy to reproduce on md-tabs demo by just adding md-center-tabs="true" to <md-tabs> tag.
I can reproduce this in Chrome as well. I made some minor tweaks to the CodePen. If you click on the tabs header, the tabs appear, but that should not be required.
On Chrome and Safari, when the tabs display, they are in the center. But on Firefox the tabs are on the right side and some are not in the viewport:
This is related to the last iteration of the fix for IE11 pagination where tabs always showed up as truncated (I.e. "Ta..."). This fix was to resolve a regression caused by v1.1.2.
Activity
[-]<md-tabs> with "md-center-tabs" has layout issues[/-][+]tabs: with "md-center-tabs" has layout issues[/+]Splaktar commentedon Dec 26, 2018
I can reproduce this in Chrome as well. I made some minor tweaks to the CodePen. If you click on the tabs header, the tabs appear, but that should not be required.
On Chrome and Safari, when the tabs display, they are in the center. But on Firefox the tabs are on the right side and some are not in the viewport:

Splaktar commentedon Dec 26, 2018
This is related to the last iteration of the fix for IE11 pagination where tabs always showed up as truncated (I.e. "Ta..."). This fix was to resolve a regression caused by
v1.1.2.fix(tabs): md-center-tabs causes tabs to not render
fix(tabs): md-center-tabs causes tabs to not render (#11567)