diff --git a/.changes/child-windows-macos.md b/.changes/child-windows-macos.md new file mode 100644 index 000000000000..4c9f52651702 --- /dev/null +++ b/.changes/child-windows-macos.md @@ -0,0 +1,7 @@ +--- +"tauri": "patch:bug" +"tauri-runtime-wry": "patch:bug" +--- + +Fix regression in creating child webviews on macOS and Windows, covering the whole window. + diff --git a/crates/tauri-runtime-wry/src/lib.rs b/crates/tauri-runtime-wry/src/lib.rs index bde9d3ccd7fd..12629db18420 100644 --- a/crates/tauri-runtime-wry/src/lib.rs +++ b/crates/tauri-runtime-wry/src/lib.rs @@ -4364,7 +4364,7 @@ fn create_webview( target_os = "ios", target_os = "android" ))] - WebviewKind::WindowChild => webview_builder.build(&window), + WebviewKind::WindowChild => webview_builder.build_as_child(&window), WebviewKind::WindowContent => { #[cfg(any( target_os = "windows",