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 (#11616)

* fix(core): fix child webviews on macOS and Windows treated as full webview window

closes #11452

* Update .changes/child-windows-macos.md
  • Loading branch information
amrbashir authored Nov 8, 2024
1 parent c561786 commit 229d7f8
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 regression in creating child webviews on macOS and Windows, covering the whole window.

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 229d7f8

Please sign in to comment.