Skip to content

Safari Desktop: Conditional Show/ Hide of br element in contenteditable element make caret disappear #499

@michael

Description

@michael

Because of certain caret rendering issues (see #498) I found a solution in hiding the br element when the element is empty and focused.

This works fine in Chrome, but not in Safari.

Repro: https://w3c.github.io/editing/repros/499.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions