Skip to content

Copy text in SelectionArea is not like copying text from HTML #104548

@nilsreichardt

Description

@nilsreichardt

Description

When selecting text in HTML across multiple elements, the text is copied like this:

Screen.Recording.2022-05-24.at.23.41.19.mov

(I used the flutter.dev website)

But with Flutter it's different. It just copy the text in one line:

Screen.Recording.2022-05-24.at.23.40.54.mov

I don't know if it's not the goal of the Flutter to have the same behavior for copying text like in HTML, but from my point of view using the same behavior as HTML would make sense because users expect similar behavior. Especially for Flutter Web.

cc: @chunhtai

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listf: selectionSelectableRegion, SelectionArea, SelectionContainer, Selectable, and related APIsfound in release: 3.29Found to occur in 3.29found in release: 3.32Found to occur in 3.32frameworkflutter/packages/flutter repository. See also f: labels.has partial patchThere is a PR awaiting someone to take it across the finish linehas reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions