-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Bug: FloatingTextFormatToolbarPlugin position change issue #7114
Copy link
Copy link
Closed
Labels
popoverIssues related to popover/menu code in the playgroundIssues related to popover/menu code in the playground
Description
I have end-aligned the text, and when I try to select the text in the first two lines, the FloatingTextFormatToolbarPlugin appears on top of the text. However, when moving to the third line, it shifts to the leftmost position.
Lexical version: 0.18.0
Steps To Reproduce
- Added 3 to 4 lines of text.
- Set the text to end alignment.
- Tried selecting the text line by line.
- The
FloatingTextFormatToolbarPluginappears on top of the text for the first two lines but shifts to the leftmost position when selecting the third line.
Toolbar.issue.mp4
The current behavior
I have end-aligned the text, and when I try to select the text in the first two lines, the FloatingTextFormatToolbarPlugin appears on top of the text. However, when moving to the third line, it shifts to the leftmost position.
The expected behavior
I have end-aligned the text, and when I try to select the text in the first two lines, the FloatingTextFormatToolbarPlugin appears on top of the text. However, when moving to the third line, it should appear on top of the text just like the first two lines.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
popoverIssues related to popover/menu code in the playgroundIssues related to popover/menu code in the playground