Repository: flutter
Issue: [webview_flutter] iOS ignored touch event when clicking quickly
Labels: platform-ios,c: performance,a: platform-views,p: webview,package,perf: speed,has reproducible steps,P2,found in release: 3.3,found in release: 3.7,team-ios,triaged-ios

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a performance problem, then fill out the template below.
     Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Details

<!--
1.  Please tell us exactly how to reproduce the problem you are running into.

2.  Please attach a small application (ideally just one main.dart file) that
     reproduces the problem. You could use https://gist.github.com/ for this.

3.  Switch flutter to master channel and run this app on a physical device
     using profile mode with Skia tracing enabled, as follows:
       flutter channel master
       flutter run --profile --trace-skia

     The bleeding edge master channel is encouraged here because Flutter is
     constantly fixing bugs and improving its performance. Your problem in an
     older Flutter version may have already been solved in the master channel.

4.  Record a video of the performance issue using another phone so we
     can have an intuitive understanding of what happened. Don’t use
     "adb screenrecord", as that affects the performance of the profile run.

5.  Open Observatory and save a timeline trace of the performance issue
     so we know which functions might be causing it. See "How to Collect
     and Read Timeline Traces" on this blog post:
       https://medium.com/flutter/profiling-flutter-applications-using-the-timeline-a1a434964af3#a499
     Make sure the performance overlay is turned OFF when recording the
     trace as that may affect the performance of the profile run.
     (Pressing ‘P’ on the command line toggles the overlay.)
-->

<!--
     Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
     Which target OS version, for Web, browser, is the test system running?
     Does the problem occur on emulator/simulator as well as on physical devices?
-->

**Target Platform:** iOS
**Target OS version/browser:** ANY version
**Devices:** iPhone

Hi. I noticed severe performance degradation of webview_flutter in iOS environment.
When a touch event is generated quickly, there is a lot of difference compared to safari.
In case of webview_flutter , many touch events are ignored.

https://user-images.githubusercontent.com/12838090/211442909-5f57163f-9206-496b-ab94-de88ec61bc55.mov

I touched drop down menu quickly on `webview_flutter example` from 0 ~ 2 sec
Also I same touched on `safari browser` from 5 ~ 6 sec

Why are touches ignored in `iOS` webview_flutter?
Please help us. Thank you.

## Logs

<details>
<summary>flutter doctor</summary>
[!] Flutter (Channel stable, 3.3.10, on macOS 12.6 21G115 darwin-arm (Rosetta), locale ko-KR)
    • Flutter version 3.3.10 on channel stable at /usr/local/Caskroom/flutter/2.5.3/flutter
    ! Upstream repository ssh://git@github.com/flutter/flutter.git is not a standard remote
    • Framework revision 135454af32 (4주 전), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/bingbong_1/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/bingbong_1/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/bingbong_1/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • 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.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • 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

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (4 available)
    • SM T870 (mobile)       • R54NC02CENH                          • android-arm64  • Android 12 (API 32)
    • iPhone 14 Pro (mobile) • E28AE2B0-25C2-4D8E-A9B6-114D435054DF • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm (Rosetta)
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 105.0.5195.125
    ! Error: To use iPhone for development, enable Developer Mode in Settings → Privacy & Security.  (code 6)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
</details>