Skip to content

Zoom out: 'Drop pattern' placeholder remains even when the inserter is not open #66487

Open

Description

@jarekmorawski

Description

I noticed the ‘Drop pattern’ placeholder seems to be missing styles and doesn’t disappear when I open and close the Inserter.

Step-by-step reproduction instructions

  1. Go to the site editor.
  2. Enter the zoom out mode.
  3. Click the inline inserter button.
  4. See the drawer appear, then close it.

Screenshots, screen recording, code snippet

layoutissues.mov

Environment info

Tested on wordpress.org/gutenberg

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. yogeshbhutkar commented on Nov 15, 2024

    @yogeshbhutkar
    Contributor

    Hi @jarekmorawski, I was able to reproduce this bug at my end as well. According to my diagnosis, the problem lies in how the zoom-out separator is rendered. Currently, it's programmed to render whenever there's a block inserter point available. But, there's this visual bug with this approach as the block inserter might be closed from the sidebar but still, there's a previously created block inserter point that renders the separator and leads to this bug.

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions