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
Expected behavior
The Popover should only animate once when first shown, not on input.
Screenshots

Desktop:
master (1df302121f0ab7df8611d01e28ad41db25f40d52)I guess it would be best for the toolbar to be positioned relative to the link element, _not_ the caret. Happy to look into it.
I guess it would be best for the toolbar to be positioned relative to the link element, _not_ the caret. Happy to look into it.
I hadn't considered that (vs. just preventing the repeated animation), but that sounds both a general improvement and likely solution to the bug!
I'll have a look at this as well unless someone figures it out before I'm able to start looking into it. First looking into #14871.
There's a related issue that I made a while back - https://github.com/WordPress/gutenberg/issues/11092
Back then I tried to resolve the problem by aligning the popover to the formatting boundary, but a separate issue made it hard to implement - https://github.com/WordPress/gutenberg/issues/11091. Now that's resolved it should be a bit easier.