[Bug]: TabsList jumps pixels when you change tabs.... :( #23947
Labels
Component: TabList
TabList control
Fluent UI react-components (v9)
Needs: Discussion
Status: Fixed
Fixed in some PR
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
No response
Reproduction
https://stackblitz.com/edit/react-ts-rtwqb7
Bug Description
Actual Behavior
Change tabs, bold text changes cause pixel jumps around in the tab
Expected Behavior
Change tabs, bold tabs doesn't add pixel width to a tab
This used to be a major eye sore in the Fabric Pivot and was later fixed (by always rendered "selected" text and hiding it so that bold widths would take layout space.)
Now it jumps around when you click around. Feels very unpolished.
Also of minor note is that the grey "hover underline" shows momentarily when you select a tab, while the brand colored underline gracefully glides on top of it. Recommend not showing the hover underline when something becomes selected... would make it much more polished.
Logs
Requested priority
Normal
Products/sites affected
any using tabs
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: