Skip to content

Style Label Appears Twice in Sidebar When Switching to Tablet View #66050

Open

Description

Description

There is a bug in the editor's style section when viewed in different responsive modes. Specifically, when the editor is opened in laptop responsive view, the style label is displayed correctly (once) in the style section of the sidebar. However, when switching to tablet responsive view, the style label is displayed twice in the style section sidebar.

This bug causes confusion as the duplicated label can affect the user experience.

Step-by-step reproduction instructions

  1. Open the Gutenberg editor.
  2. In the top-right corner, click on the "Style" button to open the style section in the sidebar.
  3. Switch to the laptop responsive view.
    • Observe that the "Style" label appears only once in the style section of the sidebar.
  4. Now, switch the responsive view to tablet mode.
  5. Open the style section in the sidebar.
    • Bug: Notice that the "Style" label appears twice in the sidebar.

Screenshots, screen recording, code snippet

style-label-appears-twice.mp4

Environment info

No response

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonNeeds TestingNeeds further testing to be confirmed.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions