-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Feature Request
Disabling window decorations in tao when using dioxus-desktop prevents the window from being resized, as confirmed in tauri-apps/tao#994 (comment).
dioxus does not provide the required API to bring drag-resizing back to a window without decorations.
This behavior prevents valid use cases like custom title bars. The user has to implement a lot of boilerplate for the webview to be resizable again.
tauri has their own implementation - I think dioxus should too.
See tauri-apps/tauri#7900 (comment) for an example of the behavior that appears when disabling a window's decorations and attempting to resize.
Note: the video only showcases attempts made at the upper-right corner. On my end, I am also completely unable to resize the window unless im dragging from the upper edge of the window, in which case it is still difficult to grab onto - the area is one pixel high.
Implement Suggestion
tauri implements this here: src/undecorated_resizing.rs