Skip to content

[web] Use hostElement as root for flt-glass-pane #114702

@ditman

Description

@ditman

As part of #32329, a Flutter app needs to be rendered inside the passed-in hostElement (if any).

Ensure that the following events are correctly handled:

  • Routing
  • Keyboard
  • Mouse
  • Locale
  • Resize
  • ??? others?

Also ensure that the Flutter web app doesn't modify the DOM outside of its root element (and attempt to not write to global variables).

Default behavior

If the hostElement is not passed, everything should behave as it does right now (taking over the whole page, etc...)

Docs

  • See Preparing the DOM: initializeEngineUi section in the design doc

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions