Skip to content

Wrong caret position #2743

Description

@aleripe

Have you checked for an existing issue?

Flutter Quill Version

11.5.1

Steps to Reproduce

  1. Create an emulator (I tested on a Pixel 9 Pro API 37.0)
  2. Start the Flutter Quill example app
  3. Put the caret at the very end of the text (after "diff-match-patch") and type "aaa"
  4. Now scroll up and put the caret after "c. popup and the website" and type "bbb"

Expected results

Text is "c. popup and the websitebbb"

Actual results

Text is "diff-match-patchaaabbb" as text is inserted in the old caret position

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions