Skip to content

[Bug]: Apple Pencil Text Annotation Cursor Jumps to Start After First Word #703

@caghp94

Description

@caghp94

Package Version

11.12.2

Flutter Version

3.35.x

Platforms

iOS

How to reproduce?

When annotating an image using the text annotation tool with an Apple Pencil, the cursor behaves incorrectly after writing more than one word. Specifically:

The first handwritten-to-text word works normally.

When writing the second word at normal or fast speed, the cursor jumps to the beginning of the sentence, inserting the new word at the start instead of after the previous one.

This results in sentences becoming reversed, unreadable, or nonsensical.

This only happens when using Apple Pencil handwriting-to-text. When typing normally via keyboard or touchscreen, the issue does not appear.

  1. Open pro_image_editor and create any image annotation.

  2. Select the Text tool.

  3. Use Apple Pencil and write two or more words quickly (using Scribble).

  4. Observe that the second word is inserted at the beginning of the sentence.

https://github.com/user-attachments/assets/f7f6891c-83ad-415c-b828-84acac9e3276
https://github.com/user-attachments/assets/474ff71c-44be-4c29-a780-be1cafb27883

If you can guide me, I’m willing to contribute. Thanks

Logs (optional)

Example code (optional)

Device Model (optional)

iPad pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleInactive issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions