Skip to content

[macos][platform_view] mac webview plugin example unable to dismiss the overlay menu when tapping on top of webview  #159353

@hellohuanlin

Description

@hellohuanlin

Steps to reproduce

  1. Build and run webview plugin's example on macOS.
  2. Tap on the 3 dots menu on top right corner
  3. Tap on empty region on the header, the menu got dismissed successfully
  4. Tap on the 3 dots menu again
  5. Tap on the webview region, the menu is not dismissed successfully. Also the web-view itself is tappable.

This means that platform view receives the touches even when the touch should have been blocked. We may have to do something similar on iOS (use a "delaying recognizer" to block or release the touches).

Expected results

See above

Actual results

See above

Code sample

NA

Screenshots or Video

mac_web_view

Logs

No response

Flutter Doctor output

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsf: gesturesflutter/packages/flutter/gestures repository.packageflutter/packages repository. See also p: labels.platform-macBuilding on or for macOS specificallyteam-macosOwned by the macOS platform teamtriaged-macosTriaged by the macOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions