Skip to content

[web] Pointer events support multi-view #137289

@mdebbar

Description

@mdebbar

This is a tracking issue for the work to make pointer events support multi-view on the web.

Summary: The PointerData class has a new viewId parameter that we should use to indicate which view received the pointer event.

Questions:

  1. Are pointer event offsets supposed to be relative to the top-left of the Flutter View that received them?
  2. What's the expectation when drag-n-dropping across Flutter Views?
    • Is the down state shared across all views?
    • Should we send move events to the source view and hover events to the destination view?

cc @goderbauer @ditman

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listengineflutter/engine related. See also e: labels.f: gesturesflutter/packages/flutter/gestures repository.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