pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.3k stars 1.64k forks source link

Tap interactions not working on iOS 18.2 beta #2415

Open RyanQuigleyOsi opened 1 week ago

RyanQuigleyOsi commented 1 week ago

Is there an existing issue for this?

Current Behavior

Once I interact with any widget in the application that isn't the web view, the webview stops recognizing any tap interaction. I can still scroll and zoom fine. If I reload the controller it fixes things until I touch another widget again.

Expected Behavior

The webview should recognize the webview all the time.

Steps with code example to reproduce

Update your iOS device to the 18.2 and click on any other widget before using attempting to click on anything in a webview InAppWebView(key: Constants.mapWebViewKey, initialUrlRequest: URLRequest(url: WebUri("https://flutter.dev")),);

Stacktrace/Logs

I'm unable to get any logs related to this issue

Flutter version

3.19.0 and 3.24.4

Operating System, Device-specific and/or Tool

iOS 18.2 beta

Plugin version

6.0.0 and 6.2.0-beta.1

Additional information

I was also able to reproduce this issue with webview_flutter 4.10.0 so I'm thinking this might be a deeper issue with the iOS beta and not the webviews. If anyone has seen something like this before or has any insight it would be much appreciated.

Self grab

pichillilorenzo commented 1 week ago

Sorry but starting from 6.1.0, the flutter version required is 3.24.0, so It’s not possible you are using 6.2.0 beta version with 3.19.0. Also, please post the minimal code to reproduce the issue and, if possible, a screen record of the issue, thanks!

RyanQuigleyOsi commented 1 week ago

I forgot to add the flutter version to match the 6.2.0 beta but the comment should be updated along with the code I used for the demo video. I tested it on Android as well and it worked like normal.

https://github.com/user-attachments/assets/390e3a5b-6a43-4863-94c9-ac60101c29fb

pichillilorenzo commented 1 week ago

Have you tried to update to latest Flutter version? Maybe the master branch of Flutter?

RyanQuigleyOsi commented 1 week ago

Updating to flutter master (3.27.0-1.0.pre.494) has the same behavior.

pichillilorenzo commented 1 week ago

Ok thanks for the test! did you create an issue on the Flutter official repo?

RyanQuigleyOsi commented 1 week ago

I hadn't, but I'll link it here once I do.

RyanQuigleyOsi commented 1 week ago

https://github.com/flutter/flutter/issues/158961