Open mattwhatsup opened 1 year ago
New discovery:
To reproduce it, do not need Magnet App, as if you drag the bottom frame fast enough, it will occur.
To add to this, on macOS when double clicking the data-tauri-drag-region
area to resize the window, the Webview will also not change its size during transition.
Describe the bug
When I use window management software like Magnet app on MacOs, the size of the webview does not change when I change the window size. It seems that this only happens on the height, and there is no problem with the width. How can I solve it?
Also, I think Safari kernel is really hard to use, Tauri should give developers an option whether to use Chromium as webview, otherwise adaptation is also painful, developers may not care about increment of a dozen megabytes of software package at all.
Reproduction
To demonstrate the issue:
When reisze the window by pulling window's frame, it works properly. Because the retina resolution, app's innerHeight - html's innerHeight * 2 always equal 44(title bar height)
But when change the size by magnet, or max the window by drag the window to top of desktop's menubar, the webview's size is incorrect.
Also notice the order of the logs printed is not correct .
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response