Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformScaffold causes interference with Webview #466

Open
philm001 opened this issue Aug 20, 2024 · 1 comment
Open

PlatformScaffold causes interference with Webview #466

philm001 opened this issue Aug 20, 2024 · 1 comment

Comments

@philm001
Copy link

Hello all,

I recently ran into an issue with the Platform Scaffold where if I combine it with a webview, the webview fails to load properly in some cases. This is for only iOS. I have a test app that I created that demonstrates the problem which I will be linking below.

In my test app, I have 2 different webview controllers.

Observations:

  1. With the platformscaffold, if the app starts on the index of the webview controller, it loads correctly. (webview prime)
  2. If the user switches tabs to the other webview (webview secondary), then the secondary one fails to load. It only displays a white screen. However, everything in the data structures is indicating that the page loaded successfully
  3. If the user switches back to webview prime, the webview loaded a white screen.

In the repo, I have included the regular scaffold widget which does work, this is meant for comparison between the platformscaffold and the regular scaffold widget. I would prefer to get the platform scaffold working.

https://github.com/ResonanceGroup/Flutter_WebView_Test

@philm001
Copy link
Author

philm001 commented Sep 1, 2024

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant