Skip to content

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

Closed

Description

@andrewserong

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

Activity

  1. added
    [Type] Bug
    [Feature] Theme Style Variations
    Global Styles
    on May 22, 2024
  2. hbhalodia commented on May 22, 2024

    @hbhalodia
    Contributor

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

  3. andrewserong commented on May 27, 2024

    @andrewserong
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global Styles[Feature] Theme Style Variations[Type] Bug

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions