Repository: flutter
Issue: [webview_flutter][iOS]: Scrolling of ListTile inside webview gets stuck after closing modalBottomSheet.
Labels: platform-ios,framework,f: scrolling,p: webview,package,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.24,found in release: 3.25

### Steps to reproduce

1. Run sample code on an ios device
2. Click any listTile in first page, wait the second page(A page use webview_flutter displaying a flutter web project) render finished, and then try to swipe back to middle and cancel, now we still at the second page
3. Scroll or click the second page, the page scroll stange and not response any click event

### Expected results

The flutter web page should scroll and response to click event as normal

### Actual results

The flutter web page scroll stange and not response any click event

### Code sample

<details open><summary>Code sample</summary>

https://github.com/Samaritan123/ios_webview

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

https://github.com/user-attachments/assets/903b30c0-3f69-499d-83c7-434bd56f4c48

</details>

I build an ios version and web version of the code sample, and open the web version with webview_flutter in listTile.
The first page is normal flutter app page, the second page use webview_flutter to display the web version of the code sample.
As we can see, when we haven't try to swipe back, the second page works well. When we try to swipe back and cancel, the second page behaive strange.

### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.4.1 23E224 darwin-arm64
    (Rosetta), locale zh-Hans-CN)
    • Flutter version 3.22.3 on channel stable at
      /Users/kailiangtang-M-YQ6NV/srv/flutter/flutter-3.22.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0850beeb2 (6 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/kailiangtang-M-YQ6NV/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.14.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.94.0
```

</details>