tauri-apps/tauri

[bug] window.add_child dosen't work at tauri 2.0.5

why0123 opened this issue · 0 comments

Describe the bug

window.add_child dosen't work at tauri 2.0.5

 window
            .add_child(
                webview_builder,
                tauri::LogicalPosition::new(0, 86),
                PhysicalSize::new(size.width, size.height - 86),
            )

this code works well in tauri 2.0.1
tauri 2.0.1

but in tauri 2.0.5,it dosen't woked anymore.
tauri 2.0.5

Reproduction

No response

Expected behavior

No response

Full tauri info output

Environment
  › OS: Windows 10.0.22631 X64
  › Webview2: 128.0.2739.79
  › MSVC:
      - Visual Studio Community 2022
  › Node.js: 18.20.2
  › npm: 10.5.0
  › pnpm: 9.4.0
  › yarn: 1.22.19
  › rustup: 1.27.1
  › rustc: 1.80.1
  › cargo: 1.80.1
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Stack trace

No response

Additional context

No response