Skip to content

Make PointerInterceptor part of the Framework #144354

Closed
1 of 1 issue completed
Closed

Description

@ditman

Use case

Because of how pointer events are handled by Flutter when interacting with platform views, web (and recently iOS) apps need to rely on the PointerInterceptor plugin to function as expected:

Screenshot 2024-02-28 at 4 17 38 PM

Pointer Interceptor helps up to certain points. For apps where there's a big platform view in the background (imagine Google Earth), keeping track of all the elements that might be overlaid on top of it can be costly.

Proposal

Consider moving the PointerInterceptor widget inside the framework, and make use of it in certain critical parts that are hard to control for end users, like the ModalBarrier #93887, ListView, Navigation drawer, so those work as expected even if there's a platform view under them.

Activity

  1. added
    in triagePresently being triaged by the triage team
    c: new featureNothing broken; request for a new capability
    frameworkflutter/packages/flutter repository. See also f: labels.
    c: proposalA detailed proposal for a change to Flutter
    and removed
    in triagePresently being triaged by the triage team
    on Feb 29, 2024
  2. yjbanov commented on Mar 4, 2024

    @yjbanov
    Contributor

    If we accept this approach, then #93887 can be closed as it would be fixed automatically.

  3. goderbauer commented on Mar 5, 2024

    @goderbauer
    Member

    I remember somebody send me a doc about this a while ago on which I left some feedback/questions that AFAIK remain unaddressed. Can we maybe start by getting a response to those?

  4. added
    P2Important issues not at the top of the work list
    on Mar 5, 2024
  5. ditman commented on Mar 13, 2024

    @ditman
    MemberAuthor
  6. yjbanov commented on May 7, 2025

    @yjbanov
    Contributor

    This came up in #167593 again.

  7. 4 remaining items

  8. yjbanov commented on Oct 14, 2025

    @yjbanov
    Contributor

    Relableded to fyi-framework and fyi-ios because:

    • PointerInterceptor is based on platform views and implementable purely on the framework side.
    • There have been important use-cases for PointerInterceptor on iOS side.
  9. added
    P1High-priority issues at the top of the work list
    and removed
    P2Important issues not at the top of the work list
    on May 13, 2026
  10. harryterkelsen commented on Aug 4, 2026

    @harryterkelsen
    Contributor

    Closing as a duplicate of umbrella issue #190574.

  11. github-actions commented on Aug 18, 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.

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

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: acdccustomer: googleVarious Google teamsframeworkflutter/packages/flutter repository. See also f: labels.team-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