-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Library
React Components / v9 (@fluentui/react-components)
System Info
chrome, windowsAre 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
n/aRequested priority
Normal
Products/sites affected
any using tabs
Are you willing to submit a PR to fix?
no
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.
