Skip to content

Components: URL input popover animates repeatedly on text/selection change #14872

@aduth

Description

@aduth

Previously: #13617

Describe the bug

When changing the text within a linked segment, or moving the selection caret using arrow keys, the link popover animates repeatedly.

To reproduce

  1. Navigate to Posts > Add New
  2. Click the writing prompt
  3. Insert some text
  4. Apply a link to said text
  5. Select within the linked fragment of text
  6. Change the linked text, or simply use arrow keys within to change caret position
  7. Note that the popover animates in response to each input

Expected behavior

The Popover should only animate once when first shown, not on input.

Screenshots

url-animation

Desktop:

  • OS: macOS Mojave 10.14.4 (18E226)
  • Browser: Chrome Version 73.0.3683.103 (Official Build) (64-bit)
  • Version: master (1df3021)

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] UI ComponentsImpacts or related to the UI component system[Package] Components/packages/components[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