-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Slider): make thumb position clearer when the value is set near edge #32051
base: master
Are you sure you want to change the base?
Conversation
@microsoft-github-policy-service agree |
4640038
to
8f0f5af
Compare
Hi, @micahgodbolt could you please help review this Pull Request? Thank you |
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
📊 Bundle size report✅ No changes found |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
FluentProviderWithTheme | virtual-rerender | 33 | 40 | 10 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 627 | 641 | 5000 | |
Button | mount | 301 | 308 | 5000 | |
Field | mount | 1149 | 1101 | 5000 | |
FluentProvider | mount | 708 | 697 | 5000 | |
FluentProviderWithTheme | mount | 86 | 90 | 10 | |
FluentProviderWithTheme | virtual-rerender | 33 | 40 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender-with-unmount | 87 | 89 | 10 | |
MakeStyles | mount | 873 | 883 | 50000 | |
Persona | mount | 1791 | 1750 | 5000 | |
SpinButton | mount | 1356 | 1437 | 5000 | |
SwatchPicker | mount | 1652 | 1657 | 5000 |
Hi @Thulof, thank you for your contribution! There are a few errors in the CI:
Thank you! |
@@ -0,0 +1,7 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕵🏾♀️ visual regressions to review in the fluentuiv9 Visual Regression Report
Avatar Converged 2 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Avatar Converged.Badge Mask RTL.chromium.png | 3 | Changed |
Avatar Converged.badgeMask.chromium.png | 5 | Changed |
Drawer 2 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Drawer.Full Overlay Dark Mode.chromium.png | 991 | Changed |
Drawer.overlay drawer full.chromium.png | 3302 | Changed |
Field 1 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Field.Slider.chromium.png | 279 | Changed |
Slider Converged 18 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Slider Converged.Disabled Dark Mode.chromium.png | 34 | Changed |
Slider Converged.Horizontal - 100%.chromium.png | 139 | Changed |
Slider Converged.Disabled High Contrast.chromium.png | 122 | Changed |
Slider Converged.Horizontal 0 RTL.chromium.png | 139 | Changed |
Slider Converged.Disabled.chromium.png | 44 | Changed |
Slider Converged.Disabled Vertical.chromium.png | 44 | Changed |
Slider Converged.Root High Contrast.chromium.png | 155 | Changed |
Slider Converged.Horizontal 100 RTL.chromium.png | 139 | Changed |
Slider Converged.Root Dark Mode.chromium.png | 64 | Changed |
Slider Converged.Horizontal - 0%.chromium.png | 139 | Changed |
Slider Converged.Vertical - 0%.chromium.png | 140 | Changed |
Slider Converged.Root.chromium.png | 92 | Changed |
Slider Converged.Root RTL.chromium.png | 92 | Changed |
Slider Converged.Vertical - 100%.chromium.png | 140 | Changed |
Slider Converged.Vertical 0 RTL.chromium.png | 140 | Changed |
Slider Converged.Vertical RTL.chromium.png | 92 | Changed |
Slider Converged.Vertical 100 RTL.chromium.png | 140 | Changed |
Slider Converged.Vertical.chromium.png | 92 | Changed |
OK |
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
Screen.Recording.2024-08-09.at.15.02.39.mov
@Thulof, please let me know if you are interested in addressing this issue, or I will proceed with it. Thank you! |
Yes, I will be working on it. |
While working on these two tasks, I encountered some issues:
|
Hello @Thulof, the commands you might be looking for are
|
Previous Behavior
The current issue is, given the slider value range is 0 to 100, when the value is set to 10 or 90, the thumb is positioned very close to the edge of the track, which could look like 0 or 100 to users.
New Behavior
With an offset, the Slider thumb is in the proper position.
Related Issue(s)
#31985