Skip to content

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

Closed as duplicate

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

Activity

  1. added
    [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
    on Dec 30, 2024
  2. Rishit30G commented on Dec 30, 2024

    @Rishit30G
    Contributor
  3. stokesman commented on Dec 31, 2024

    @stokesman
    Contributor

    This appears to be a duplicate of #63260. Hopefully it can be fixed soon with #63270.

  4. t-hamano commented on Jan 2, 2025

    @t-hamano
    Contributor

    Close this as a duplicate of #63260.

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

    [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