Skip to content

(Firefox) Misplaced caret when selecting a RichText element #11812

@mcsf

Description

@mcsf

Describe the bug

Caret is erroneously positioned at the start of a RichText element when selecting a block in Firefox.

To Reproduce

Steps to reproduce the behavior:

  1. Start with a post (I'm using a sizable post provided here).
  2. Make sure no blocks are selected.
  3. Click on the end of a textful RichText element, or click in the middle of the text.
  4. Observed: Caret is positioned at the start of the element.

Expected behavior

Caret should be placed where I clicked.

Screenshots

richtext-caret-firefox

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox Developer Edition

Metadata

Metadata

Assignees

No one assigned

    Labels

    Browser IssuesIssues or PRs that are related to browser specific problems[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions