Skip to content

Bug: Selection movement incorrect for RTL entering decorator node #7685

@noamzaks

Description

@noamzaks
Screen.Recording.2025-07-11.at.0.20.34.mov

Lexical version: v0.33.0

Steps To Reproduce

  1. Write two RTL paragraphs.
  2. Add a divider in between both paragraphs.
  3. Try to move selection from the end of the first paragraph forward (with the left arrow key) or from the start of the second paragraph backward (with the right arrow key).

The current behavior

Some "weird" location is selected, and only after pressing the left key the divider is focused.

The expected behavior

The divider should be focused.

Impact of fix

RTL users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions