On macOS, tauri reports the initial screen dimensions to a resizable window while adjusting its dimensions. Every event fired while dragging contains the dimensions that the window had when launching the app, instead of the current window dimensions.
To Reproduce
listen("tauri://resize", ({ event: _, payload }) => console.log(payload))
Expected behavior
console logs an object with current window dimensions.
Platform and Versions (required):
Operating System - Mac OS, version 11.4.0 X64
Operating System - Mac OS, version 10.15 X64
Node.js environment
Node.js - 16.2.0
@tauri-apps/cli - 1.0.0-beta.5
@tauri-apps/api - 1.0.0-beta.4
Global packages
npm - 7.19.1
yarn - 1.22.10
Rust environment
rustc - 1.55.0-nightly
cargo - 1.54.0-nightly
On macOS, tauri reports the initial screen dimensions to a resizable window while adjusting its dimensions. Every event fired while dragging contains the dimensions that the window had when launching the app, instead of the current window dimensions.
To Reproduce
listen("tauri://resize", ({ event: _, payload }) => console.log(payload))Expected behavior
console logs an object with current window dimensions.
Platform and Versions (required):