Skip to content
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

fix(react-color-picker): place thumb outside of Sliders and ColorArea #33880

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ValentinaKozlova
Copy link
Contributor

Fix for thumb positioning looks weird on edges:
thumb-positioning

image
image

Talked to @gouttierre. we decided to stay with this design. Also, the same design is currently in V8.
image
image

Previous Behavior

  • Slider wasn't moving on edges

New Behavior

  • Slider is moving on edges
  • Part of thumb is visible outside of ColorSlider and ColorArea

Copy link

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-color-picker-preview
ColorArea
50.45 kB
17.668 kB
49.951 kB
17.555 kB
-499 B
-113 B
react-color-picker-preview
ColorPicker
18.581 kB
7.371 kB
18.65 kB
7.417 kB
69 B
46 B
react-color-picker-preview
ColorSlider
42.458 kB
15.707 kB
42.212 kB
15.639 kB
-246 B
-68 B

🤖 This report was generated against d43c79e52dba8413f24e5f43b88b7396e6f3603a

Copy link

Pull request demo site: URL

@@ -0,0 +1,7 @@
{
Copy link
Collaborator

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 1 screenshots
Image Name Diff(in Pixels) Image Type
Avatar Converged.badgeMask.normal.chromium.png 2 Changed
ColorPicker Converged 6 screenshots
Image Name Diff(in Pixels) Image Type
ColorPicker Converged.Default.default.chromium.png 205 Changed
ColorPicker Converged.Default - High Contrast.default.chromium.png 301 Changed
ColorPicker Converged.Alpha Sliders.default.chromium.png 66 Changed
ColorPicker Converged.Default - RTL.default.chromium.png 205 Changed
ColorPicker Converged.Default - Dark Mode.default.chromium.png 195 Changed
ColorPicker Converged.shape.default.chromium.png 213 Changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants