Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: FloatingTextFormatToolbarPlugin position change issue #7114

Open
Nagendra7509 opened this issue Jan 30, 2025 · 0 comments
Open

Bug: FloatingTextFormatToolbarPlugin position change issue #7114

Nagendra7509 opened this issue Jan 30, 2025 · 0 comments
Labels
popover Issues related to popover/menu code in the playground

Comments

@Nagendra7509
Copy link

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

  1. Added 3 to 4 lines of text.
  2. Set the text to end alignment.
  3. Tried selecting the text line by line.
  4. The FloatingTextFormatToolbarPlugin appears 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.

@etrepum etrepum added the popover Issues related to popover/menu code in the playground label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
popover Issues related to popover/menu code in the playground
Projects
None yet
Development

No branches or pull requests

2 participants