Skip to content

[Android] button actions in webview_flutter are blocked #169486

@letrungdo

Description

@letrungdo

Steps to reproduce

  1. Open the screen containing the webview
  2. Use 2 or more fingers to zoom in and out of the map

Expected results

After zooming in and out, tap the buttons work normally.

Actual results

Tap the buttons and no action will happen.

Code sample

You can reproduce it on this repo:
https://github.com/letrungdo/flutter_webview_issue

I have wrapped the WebViewWidget in SingleTouchContainer for easy reproducibility. If I remove it it will be harder to reproducible and it still has the issue on

Screenshots or Video

Screen.Recording.2025-05-27.at.13.35.58.mp4

Logs

No logs

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.32.0, on macOS 15.4.1 24E263 darwin-arm64, locale en-JP) [290ms]
    • Flutter version 3.32.0 on channel stable at /Users/letrungdo/fvm/versions/3.32.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision be698c48a6 (7 days ago), 2025-05-19 12:59:14 -0700
    • Engine revision 1881800949
    • Dart version 3.8.0
    • DevTools version 2.45.1

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.5s]
    • Android SDK at /Users/letrungdo/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at:
      /Users/letrungdo/Library/Java/JavaVirtualMachines/corretto-17.0.13/Contents/Home/bin/java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment Corretto-17.0.13.11.1 (build 17.0.13+11-LTS)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.3) [719ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16E140
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [12ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2) [11ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] VS Code (version 1.100.2) [10ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.110.0

[✓] Connected device (5 available) [6.0s]
    • S6 KC (mobile)                  • 5849014604                • android-arm64  • Android 12 (API
      31)
    • sdk gphone64 arm64 (mobile)     • emulator-5554             • android-arm64  • Android 15 (API
      35) (emulator)
    • Do’s iPhone (wireless) (mobile) • 00008140-001815992EEB001C • ios            • iOS 18.5 22F76
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 15.4.1
      24E263 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome
      136.0.7103.114

[✓] Network resources [302ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

Labels

Bot is counting down the days until it unassigns the issueP1High-priority issues at the top of the work listfound in release: 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions