Skip to content

Hyperlink popover partly disappears behind wp-admin sidebar #38957

@pwkip

Description

@pwkip

Description

When you highlight some text in a paragraph block, if the highlighted text is near the left side of the editor, the popover to enter the URL will be partly hidden by the left sidebar.

Step-by-step reproduction instructions

  1. Create a new post or page.
  2. Make sure you resize the window so that the left edge of the editor container is close to the left sidebar. (Don't make it too narrow, because than the sider will switch to mobile view)
  3. Type the word test in a paragraph
  4. Highlight the word test
  5. Click the hyperlink icon
  6. Observe that part of the popover disappears behind the sidebar

Screenshots, screen recording, code snippet

image

Environment info

This behaviour was observed both with Gutenberg plugin enabled and disabled.

  • WP 5.9
  • Gutenberg 12.6.0

Tested on:

  • Browsers: Chrome 98 and Firefox
  • OS: MacOS Big Sur and Windows 10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[Status] DuplicateUsed to indicate that a current issue matches an existing one and can be closed

    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