Skip to content

UiKitView should participate in the Flutter focus tree #34187

Closed
@amirh

Description

@amirh

Right now selecting a text field inside a WebView doesn't change the framework's focus state so e.g a previously focused Flutter text field is still focused(and will show the caret animation).

On Android we've added added a focus node for AndroidViews which stays in sync with the platform view's focus state.

This is what it currently looks like on iOS when focus is moved from a Flutter text field to a WebView text field:

ezgif com-resize

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsa: qualityA truly polished experiencea: text inputEntering text in a text field or keyboard related problemsfound in release: 1.21Found to occur in 1.21frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specifically

Type

No type

Projects

Status

Engineer reviewed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions