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.26k stars 1.6k forks source link

Touch event & rendering issue on Samsung devices #594

Closed PankajKumar-htp closed 3 years ago

PankajKumar-htp commented 3 years ago

Using inappwebview(v4.0.0), on few specific Samsung touch event behave strangely while interacting with web pages.

Also noticed that this issue only occur when application is of game category and it is in Samsung Galaxy game launcher application. This issue was previously present in the webview_flutter but it got fixed in the latest version ie v1.0.7.

Issue and Screenshots:

Touch is not calibrated and you need to tap above the actual button. As you go towards bottom of the webpage, this offset keeps increasing. There is an issue with webpage rendering also. Fonts get bigger than the actual size and whole page is zoomed in.

The Web Page is working fine in other web view like webview_flutter

flutter_inappwebview screenshot :

Screenshot_20201120-144225

webview_flutter screenshot:

Screenshot_20201120-150412

Steps to Reproduce

class InAppWebViewScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text("In App WebView")), body: Container( child: InAppWebView( initialUrl: "https://pub.dev/", ), ), ); } }



-  Run the app in release mode.

- Open **Samsung Game Launcher** app and add your app to it.

- Now Open the flutter app again (You will see some gaming option in the bottom portion  of app [see first screenshot below] only if your app is successfully added as game in samsung game launcher as game type).
pichillilorenzo commented 3 years ago

Have you tried latest version?

no-response[bot] commented 3 years ago

This issue has been automatically closed because it was marked as "answered", and there wasn't any recent activity on this issue.

github-actions[bot] commented 1 week ago

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 and a minimal reproduction of the issue.