Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 of 6 tasks
madhusudhand opened this issue Dec 30, 2024 · 3 comments
Closed
3 of 6 tasks
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended

Comments

@madhusudhand
Copy link
Member

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
@madhusudhand madhusudhand added [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended labels Dec 30, 2024
@Rishit30G
Copy link
Contributor

@stokesman
Copy link
Contributor

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

@t-hamano
Copy link
Contributor

t-hamano commented Jan 2, 2025

Close this as a duplicate of #63260.

@t-hamano t-hamano closed this as completed Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

4 participants