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

Color Presets: Scrollbar is unexpectedly present in color preset previews #61840

Closed
andrewserong opened this issue May 22, 2024 · 2 comments
Closed
Labels
[Feature] Theme Style Variations Related to style variations provided by block themes Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Bug An existing feature does not function as intended

Comments

@andrewserong
Copy link
Contributor

Description

Related to #61213 and possibly introduced in #61334

The new color presets design results in an unexpected scrollbar being visible in OSes that are set to always display scrollbars (if present). E.g. a Mac set to "Show scroll bars: Always".

Step-by-step reproduction instructions

  1. In your OS, set scroll bars to display "always"
  2. Open up the Site Editor and in the left hand sidebar in browse mode, select Styles
  3. Scroll down to the Colors color palettes
  4. Notice that there's a grey circle in the top right of the color palette: it's the scroll bar being visible
  5. Hover over the color palette and note that you can use the mouse wheel or trackpad to scroll the element

Screenshots, screen recording, code snippet

2024-05-21.18.33.40.mp4

Environment info

  • WP 6.5.3
  • Gutenberg trunk
  • Chrome browser
  • macOS

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@andrewserong andrewserong added [Type] Bug An existing feature does not function as intended [Feature] Theme Style Variations Related to style variations provided by block themes Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels May 22, 2024
@hbhalodia
Copy link
Contributor

Just for the context, we have already raised the issue and we are tracking it here - #61759

@andrewserong
Copy link
Contributor Author

Thanks Hit! Apologies, I missed that issue, I'll close this one out now 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Theme Style Variations Related to style variations provided by block themes Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Bug An existing feature does not function as intended
2 participants