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: Range selection selects root node while trying to click on the Horizontal Rule #6689

Open
ethange7 opened this issue Oct 1, 2024 · 0 comments

Comments

@ethange7
Copy link

ethange7 commented Oct 1, 2024

Lexical version:

Steps To Reproduce

  1. in Lexical playground, insert a Horizontal Rule via the insert button
  2. click on the left part of the HR in editor but slightly higher, like shown
    image
  3. check the debugging panel, selection: range, root is selected
    image
  4. now press backspace will move focus to the first node

Link to code example: N/A
Reproducible on the official playground

The current behavior

Root is selected

The expected behavior

Root should not be selected

Impact of fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant