Skip to content

[web:multi-view] Make keyboard and focus multi-view aware #137443

@yjbanov

Description

@yjbanov

Currently Flutter always listens to keyboard events assuming it owns the page. That should not be the case in multi-view state (not even in non-full-page single view case).

It's not yet clear what exactly needs to be done here. If we shut off keyboard events at the engine level, that could be limiting for some use-cases. For example, multi-view may be used for reasons other than add-to-app deployments, and the app may still want to handle keyboard globally. At the framework-level, we could be aware of when and which view is currently focused and only listen to keyboard events there while still giving the developer the option to handle keyboard globally. But before fixing keyboard we need to introduce focusability at the FlutterView level.

See also: #137344

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listengineflutter/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