Drag a window with resizable set to false #4362
-
|
For my use case, I have a window with the following tauri configs. I have looked at this: #2708 but the difference is that I want to keep |
Beta Was this translation helpful? Give feedback.
Answered by
w-henderson
Jun 28, 2022
Replies: 1 comment 3 replies
-
|
You could do this by adding the <div data-tauri-drag-region>
Dragging this <code>div</code> will drag the window.
</div>Otherwise, without decorations, there aren't any areas of the window that are by default draggable. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
elanzini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could do this by adding the
data-tauri-drag-regionattribute to part of the HTML in your front-end code, like this:Otherwise, without decorations, there aren't any areas of the window that are by default draggable.