Repository: flutter
Issue: [webview_flutter] [iOS] WebviewWidget lost drag response, when some widgets on it use Stack layout
Labels: platform-ios,framework,c: performance,p: webview,package,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.19

I use webview_flutter / flutter_inappwebview to visit a web page (cesium.js, webGL), and place some FABs on the WebviewWidget to implement some logical processing use Stack layout. It's work fine on Android, but doesn't work properly on iOS. When i click the FAB (Icons.tab or Icons.abc) more than 2 times, the web page cannot be dragged.(click Icons.add work well)
How do i solve this problem ?

macOS: 13.2.1 (22D68).
android studio: 2022.1.1 Patch 2, flutter plugin: 72.1.2, dart plugin: 221.6096.
Flutter SDK: 3.3.9, Dart: 2.18.5.
webview_flutter: ^4.0.5, flutter_inappwebview: ^5.7.2+3.
xcode: 14.1 (14B47b).

<details>
<summary>Code sample</summary>

```dart
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
// Import for Android features.
import 'package:webview_flutter_android/webview_flutter_android.dart';
// Import for iOS features.
import 'package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late final WebViewController _controller;

  @override void initState() {

    late final PlatformWebViewControllerCreationParams params;
    if (WebViewPlatform.instance is WebKitWebViewPlatform) {
      params = WebKitWebViewControllerCreationParams(
        allowsInlineMediaPlayback: true,
        mediaTypesRequiringUserAction: const <PlaybackMediaTypes>{},
      );
    } else {
      params = const PlatformWebViewControllerCreationParams();
    }

    final WebViewController controller = WebViewController.fromPlatformCreationParams(params);

    controller
      ..setJavaScriptMode(JavaScriptMode.unrestricted)
..loadRequest(Uri.parse('https://sandcastle.cesium.com/standalone.html#c=bY9Pa8MwDMW/ivGpgyGx6+qGQq+FHQY7+eI6Wmuq2MFSUtJPvyS9jK26vaf3059YsqgZE92omp3JdDMHkjR08LV6G2/jqg8la0iZqrcvW5/tq3WiE1Pjs1lrn7q+VDVD5Q0AKnU9ByXB0xCvpBBFFnCJOvyNujaNJrW7J5tM5CAyd74H5s90J28bh3P+H8oltCmfP0aqHKYldnlrjg8TABzO8jmppfAp1D+T5/8uqr28I0rIbQyiTPA4EGLp8ByYqU74Aw'));
      
    if (controller.platform is AndroidWebViewController) {
      AndroidWebViewController.enableDebugging(true);
      (controller.platform as AndroidWebViewController)
          .setMediaPlaybackRequiresUserGesture(false);
    }
    _controller = controller;
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Stack(
        children: [
          WebViewWidget(controller: _controller),
          Positioned(
            left: 40,
            bottom: 80,
            child: FloatingActionButton(
              onPressed: () {},
              child: const Icon(Icons.tab),
            ),
          ),
          Positioned(
            right: 40,
            bottom: 160,
            child: FloatingActionButton(
              onPressed: () {},
              child: const Icon(Icons.abc),
            ),
          ),
          Positioned(
            right: 40,
            bottom: 80,
            child: FloatingActionButton(
              onPressed: () {},
              child: const Icon(Icons.add),
            ),
          ),
        ],
      ),
    );
  }
}
```

</details>