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 }}
Repository navigation
[Tabs] Ink bar needs to be adjusted after fonts load #4648
The ink bar for the tabs should be positioned correctly, even when using web fonts.
What is the current behavior?
When using a web font for the tab titles, the ink bar position/length is not calculated correctly on initialization. Clicking the currently active tab again or a different tab repositions the ink bar correctly.
If you click it again, it aligns correctly.
This is due to the web font not being present when the component is initialized and the ink bar position is calculated. When clicking the tab again, the web font is displayed correctly and hence the position is calculated correctly.
changed the title [-]Bug(MdTabs): Tab Ink Bar position not correctly initialized when using web fonts[/-][+][Tabs] Ink bar needs to be adjusted after fonts load[/+]on Oct 19, 2017
Activity
[-]Bug(MdTabs): Tab Ink Bar position not correctly initialized when using web fonts[/-][+][Tabs] Ink bar needs to be adjusted after fonts load[/+]gioele-antoci commentedon Mar 13, 2018
aicokleinovink commentedon Nov 29, 2019
Something new on this issue? Ran into exactly the same thing with Angular Material 8+
crisbeto commentedon Jun 23, 2025
This shouldn't be a problem anymore, because the ink bar width is set using a percentage.
angular-automatic-lock-bot commentedon Jul 24, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.