Skip to content

[web] Text selection toolbar doesn't show up on first interaction with SelectableText #77076

@mdebbar

Description

@mdebbar

When running on web, the framework doesn't show the text selection toolbar. Instead, we rely on the browser to show its own.

SelectableText creates a text field under the hood to handle selection, etc.

The problem is the first interaction with the SelectableText happens before the underlying <input> has been created. So the browser doesn't show the context menu (aka the toolbar) until the user interacts again with the text.

Upon first interaction:

Screenshot_20210302-095723

After subsequent interactions:

Screenshot_20210302-095733

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsengineflutter/engine related. See also e: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions