Skip to content

[web] Consider using setPointerCapture method for pointer handling. #141307

Closed

Description

@ditman

Use case

The current web engine uses global event listeners to handle events that might "get out" of Flutter's hostElement.

Proposal

Consider using setPointerCapture on Flutter's hostElement so events stay targeted to the Flutter host element even when drags happen outside of flutter. See docs:

Related

Activity

  1. added
    team-webOwned by Web platform team
    engineflutter/engine related. See also e: labels.
    on Jan 10, 2024
  2. added
    platform-webWeb applications specifically
    P2Important issues not at the top of the work list
    triaged-webTriaged by Web platform team
    on Jan 11, 2024
  3. ditman commented on Jan 13, 2024

    @ditman
    MemberAuthor
  4. github-actions commented on Nov 10, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not 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