[ annotation api] Adding annotation after the user has stopped typing causes focus to jump to line with annotation on. #14929
Labels
[Feature] Annotations
Adding annotation functionality
[Feature] Rich Text
Related to the Rich Text component that allows developers to render a contenteditable
[Package] Rich text
/packages/rich-text
[Type] Bug
An existing feature does not function as intended
Describe the bug
Adding annotation after the user has stopped typing causes focus to jump to line with annotation on.
Video of issue: http://bigbite.im/99mtOY
To reproduce
After adding the below code you can reproduce the issue by doing the below:
Below is a stripped down version of my code:
Highlight component file
Register highlight plugin file
Expected behavior
Adding annotations shouldn't cause the focus to jump to the piece of text where the annotation format has been applied.
Desktop (please complete the following information):
OS: macOS Mojave
Browser: Chrome
Version: 73.0.3683.103 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: