Skip to content

[Investigate] Remove SelectableText in favor of SelectionArea? #1137

@erickok

Description

@erickok

We should investigate if we can simplify our support for selectable text by removing the usage of SelectableText (which has limitations and behaviour differences) in favor of simply wrapping (even even just recommending) SelectableArea SelectionArea, introduced in Flutter 3.3.

Of course the text selection needs to be as least as good (in behaviour and features) as what we have right now. It could simplify our code though and remove the need to document limitations when using SelectableHtml.

Additional context
https://api.flutter.dev/flutter/material/SelectionArea-class.html for the official doc.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions