Skip to content

Text highlighting/selection issue with Flutter 3.27.2 on Web #2450

Open
@bloemy7

Description

@bloemy7

Have you checked for an existing issue?

Flutter Quill Version

10.8.5

Steps to Reproduce

  1. Setup project with flutter-quill when running flutter version 3.27.2
  2. Try highlighting text to select it

Expected results

Expecting to be able to smoothly select text

Actual results

Almost impossible to select text as it auto-select multiple lines in a very buggy way

Additional Context

The issue seems to be around the precision of the cursor when selecting a line. If you put it exactly at the height of a line, it acts as if it was already slightly above the line, and so it automatically selects the full line. This makes the entire experience impossible to properly control.

I have downgraded Flutter to 3.27.1 and 3.27.0, but there when selecting text it doesn't show the resulting highlight as you are dragging, only once you release the drag, which is not a good experience either.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedThis issue cannot be resolved due to an obstacle or dependency.bugSomething isn't workingcriticalRequires immediate attention. This issue causes major functionality loss, crashes, or security vulneexternal issueThis issue is caused by an external dependency and cannot be resolved within this project.help wantedExtra attention is neededreproducibleThis bug has been confirmed and can be reliably reproduced.webIssues or feature requests specific to the Web platform.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions