Skip to content

Page scroll is restricted when block inserter is shown in the editor #68381

@madhusudhand

Description

@madhusudhand

Description

When mouse is hovered on the block inserter, page can no longer be scrolled, until the mouse is moved out of the block inserter.

Sometimes when the page scrolled up/down, and if block inserter appears at current mouse pointer position, user cannot scroll the page anymore. Mouse needs to be moved out of the inserter first.

It should allow page scroll even when the mouse is hovered on inserter, and inserter should disappear after scroll.

Step-by-step reproduction instructions

  1. Open editor
  2. Hover between blocks to see block inserter
  3. Now try scrolling the page (mouse is on block inserter)
  4. Observe that page scroll is disabled.

Screenshots, screen recording, code snippet

Image

Environment info

  • Wordpress latest (6.7)
  • Gutenberg latest (19.9.0)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] InserterThe main way to insert blocks using the + button in the editing interface[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[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