You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a react app where I can click and drag elements around.
I would like the mouse to stay in the window when it reaches the window's bounding box, so that the mouse doesn't leave the window at all until the dragging finishes
Describe the solution you'd like
I would like an api command that locks/unlocks the mouse pointer to the Tauri window.
Alternatives considered
I have tried creating custom commands using winapi, but I ran into issues with GetClientRect not working properly.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the problem
I have a react app where I can click and drag elements around.
I would like the mouse to stay in the window when it reaches the window's bounding box, so that the mouse doesn't leave the window at all until the dragging finishes
Describe the solution you'd like
I would like an api command that locks/unlocks the mouse pointer to the Tauri window.
Alternatives considered
I have tried creating custom commands using
winapi
, but I ran into issues withGetClientRect
not working properly.Additional context
No response
The text was updated successfully, but these errors were encountered: