Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[web] Detecting the click on "done" in the virtual keyboard in iOS #86682

Copy link
Copy link
@mdebbar

Description

@mdebbar
Issue body actions

At the moment, there's no proper way to detect the click on "done" in a virtual keyboard. All we receive is a "blur" event on the text field, which is indistinguishable from other "blur" causes.

We may be able to detect this by checking the new focus target. If it's <body> then the user most likely clicked "done" on the virtual keyboard. That is because iOS doesn't blur text fields when the user taps on random parts of the page. The only ways to blur are: click "done" or click some other focusable element (e.g. another text field).

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listImportant issues not at the top of the work lista: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemscustomer: ariasengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.good first issueRelatively approachable for first-time contributorsRelatively approachable for first-time contributorsplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.