Skip to content

Commit

Permalink
fix(core): fix child webviews on macOS and Windows treated as full we…
Browse files Browse the repository at this point in the history
…bview window

closes #11452
  • Loading branch information
amrbashir committed Nov 7, 2024
1 parent 8e8312b commit 17028a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changes/child-windows-macos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri": "patch:bug"
"tauri-runtime-wry": "patch:bug"
---

Fix child webviews on macOS and Windows.

2 changes: 1 addition & 1 deletion crates/tauri-runtime-wry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4364,7 +4364,7 @@ fn create_webview<T: UserEvent>(
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",
Expand Down

0 comments on commit 17028a1

Please sign in to comment.