refactor: webview as child for WebviewWindow, enhance resizing closes #6322
Doesn't work 100% yet :(
I've been getting help from @FabianLars to get this to work but no luck yet.
The example from https://github.com/tauri-apps/tauri/issues/6322#issuecomment-1872491965 also has a window.request_redraw() but I don't think that helps.
I'm not super happy with it either, at least with how it currently is implemented and how less of an effect it has on a multiwebview app, but I disagree that it should be handled on the user side. Without anything on our side resizing on windows is really horrible and basically unusable for multiwebview windows.
Maybe have it opt-in as a compromise?
No need for an option, let's roll with it and see if there is any negative feedback down the road.
@FabianLars @amrbashir can you check what else we can do on Windows to enhance this?
Probably needs a better approach.