Skip to content

Bug: Text selection on safari has extra empty selection area #7106

@alterhuman

Description

@alterhuman

Selection a text node in safari you can also select the area between 2 text nodes. While selecting, you first select the text then you can also select the empty area above/below the node and then you select the next node. This is lexical playground:

Image

The selection works correctly on Chrome:
Image

This is a lexical issue because it doesn't exist in other text editors, for example in the GitHub text editor itself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions