Closed kobi666 closed 8 months ago
HTML for the local site to reproduce the issue (save as HTML):
<!DOCTYPE html>
HTML for local site: watch-for-changes.html.zip
Testing Page: TestingPage.dart.zip
Closing as a duplicate of https://github.com/flutter/flutter/issues/58659. Please follow up on it for further updates. Thanks!
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.
Steps to reproduce
it is important to note that the issue I am experiencing also has to do with the web app | safari "holding" onto the pointer event, but the bug is that the pointer event should not have propagated to the webview in the first place
Expected results
the webview which is lower in the stack (behind the floating action button) should not have received the pointer event at all.
Actual results
the webview is receiving the pointer event coming from the tap on the floating button
Code sample
Code sample
```dart // this also contains the workaround of using an underlining NoPointer widget in the stack to prevent the pointer from //propogating the pointer event import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:pointer_interceptor/pointer_interceptor.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; class TestingPageWebView extends StatefulWidget { @override StateScreenshots or Video
Screenshots / Video demonstration
[Upload media here]Logs
Logs
nothing to log i'm afraidFlutter Doctor output
Doctor output
```console ✓] Flutter (Channel stable, 3.16.5, on macOS 14.2 23C64 darwin-arm64 (Rosetta), locale en-IL) • Flutter version 3.16.5 on channel stable at /Applications/frameworks/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 78666c8dc5 (3 months ago), 2023-12-19 16:14:14 -0800 • Engine revision 3f3e560236 • Dart version 3.2.3 • DevTools version 2.28.4 [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, please use `flutter config --android-sdk` to update to that location. [✓] Xcode - develop for iOS and macOS (Xcode 15.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15C500b • CocoaPods version 1.15.2 [✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). [✓] VS Code (version 1.86.2) • VS Code at /Users/kobihanma/Downloads/Visual Studio Code.app/Contents • Flutter extension version 3.84.0 [✓] Connected device (1 available) • macOS (desktop) • macos • darwin-arm64 • macOS 14.2 23C64 darwin-arm64 (Rosetta) [✓] Network resources • All expected network resources are available. ```