|
@@ -1539,7 +1539,8 @@ fn handle_event_loop(
|
|
|
menu_event_listeners.clone(),
|
|
|
);
|
|
|
}
|
|
|
- WryWindowEvent::Resized(_) => {
|
|
|
+ // we also resize the webview on `Moved` to fix https://github.com/tauri-apps/tauri/issues/1911
|
|
|
+ WryWindowEvent::Resized(_) | WryWindowEvent::Moved(_) => {
|
|
|
if let Err(e) = webviews[&window_id].inner.resize() {
|
|
|
eprintln!("{}", e);
|
|
|
}
|