Skip to content

Bug: Should not focus on root element #5968

Open
@aquarius-wing

Description

@aquarius-wing

Lexical version:

Steps To Reproduce

  1. Open Playground
  2. Remove all text and type ``` and space key
  3. Type some text like 11111
  4. Press Arrow Up Key multiple times
CleanShot-2024-04-26-at-17.37.29.mp4

The current behavior

You'll notice that the selection switches back and forth between the text node and the root node

The expected behavior

Just focus the text node only

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution-weekIssues that are good to be picked up for the contribution week

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions