Skip to content

Popover: JS error triggers on autocomplete popovers when used at the end of blocks lines #75897

@youknowriad

Description

@youknowriad

Description

When you type @admin close to the edge of a long paragraph, a popover is supposed to render to show you the matched users, very often a JS error is triggered causing the whole block to collapse.

Step-by-step reproduction instructions

1- Create a block
2- Insert a long paragraph
3- Focus close to the edge of the first row
4- Type @admin
5- Noticed the block collapsing.

Screenshots, screen recording, code snippet

bug-popover.mov

Environment info

Tested on Chrome, not sure if reproducible on others.

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] UI ComponentsImpacts or related to the UI component system[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions