IssueRaiser

[webview_flutter][android] webview crashes when embedded in a scrollview

<!-- 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 bug or if our documentation doesn't have an answer to what you're looking for, then fill out the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> When using a webview inside of a scrollview, some content renders a completely distorted page and some content even crashes the app. This problem only affects Androidm the same app, on iOS the same code results in a correclty rendered web page. Rendering the same content also works fine on Android, when not embedding the webview inside of a scrollview. ## Steps to Reproduce <!-- Please include full steps to reproduce so that we can reproduce the problem. --> 1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) --> 2. Observe the rendered page (flutter.dev): it will be shown completely distorted 3. Some html contents also crash my app on my test devices **Expected results:** <!-- what did you want to see? --> A web view that is shown within a scrollable view should render content corretly and without crashing the app. **Actual results:** <!-- what did you see? --> A completely distorted page, some html code also

Posted by robert-virkus on May 28, 2022, 2:03 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

reliability (SaaS)

[webview_flutter][android] webview crashes when embedded in a scrollview

robert-virkusMay 28, 2022, 2:03 PM

<!-- 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 bug or if our documentation doesn't have an answer to what you're looking for, then fill out the template below. Please read our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports --> When using a webview inside of a scrollview, some content renders a completely distorted page and some content even crashes the app. This problem only affects Androidm the same app, on iOS the same code results in a correclty rendered web page. Rendering the same content also works fine on Android, when not embedding the webview inside of a scrollview. ## Steps to Reproduce <!-- Please include full steps to reproduce so that we can reproduce the problem. --> 1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) --> 2. Observe the rendered page (flutter.dev): it will be shown completely distorted 3. Some html contents also crash my app on my test devices **Expected results:** <!-- what did you want to see? --> A web view that is shown within a scrollable view should render content corretly and without crashing the app. **Actual results:** <!-- what did you see? --> A completely distorted page, some html code also

Comments (0)

No comments yet. Start the discussion.

Comment on this issue