Skip to content

[ LinkControl ] Bug with position when closed #21835

Closed

Description

@draganescu

Describe the bug
The LinkControl box jumps to top left corner when the block that opened it is switched to edit as html.

To reproduce
Steps to reproduce the behavior:

  1. Add a page
  2. Add a Quote block
  3. Add content to the Quote block
  4. Select two words of the quote
  5. Make them a link
  6. Deselect then select the link you just made
  7. With the LinkControl open go to block toolbar and click the dots and then edit as html
  8. Observe error

Expected behavior
The Link control should disappear

Screenshots

moving-control

Activity

  1. added
    [Type] Bug
    [Feature] UI Components
    [Feature] Link Editing
    on Apr 23, 2020
  2. paaljoachim commented on Mar 11, 2021

    @paaljoachim
    Contributor

    Testing with
    WordPress 5.7
    Gutenberg plugin 10.1.1
    Twenty Twenty One

    I was able to follow the above steps and reproduce the error.

    Screen Shot 2021-03-11 at 21 00 36

    Adding in the Quote Block nesting PR which should fix this issue.
    Quote: convert to nested blocks
    #25892

  3. added
    Needs Dev
    on Mar 12, 2021
  4. fabiankaegy commented on Sep 30, 2021

    @fabiankaegy
    Member

    I also tested this and was only able to replicate it in Chrome (Version 94.0.4606.61 (Official Build) (x86_64)) and Firefox (90.0.2 (64-Bit)). Safari (Version 15.0 (16612.1.29.41.4, 16612)) does not appear to have the issue. Continuing to investigate 👍

  5. draganescu commented on Feb 18, 2022

    @draganescu
    ContributorAuthor

    I retested this on Gutenberg trunk and it seems to not be a bug anymore 🚀

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

    Needs Dev[Feature] Link Editing[Feature] UI Components[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions