Skip to content

Simultaneous scrolling of page and LinkControl in Gutenberg editor #70594

@ccharel

Description

@ccharel

Description

Hello,

Since updating to WordPress 6.8.1, we've noticed an unexpected scroll behavior in the Gutenberg editor:
when LinkControl is open, scrolling inside the modal also scrolls the page in the background.

Context:
WordPress 6.8.1

Thanks for your work on Gutenberg !

Step-by-step reproduction instructions

  • Go to the post/page editor.
  • Add a Paragraph block.
  • Select a word and click on the “Insert link” button.
  • Try scrolling inside the modal.
  • The main page scrolls along with the modal.

Screenshots, screen recording, code snippet

No response

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

Please confirm which theme type you used for testing.

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

Metadata

Metadata

Assignees

Labels

[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[Status] In ProgressTracking issues with work in progress[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