egui
egui copied to clipboard
Use cursor grab / mouse lock api
trafficstars
https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_cursor_grab https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API
For example it could be awesome to lock pointer when setting DragValue for example in cases when UX breaks when widget is near screen edge.
one caveat is that at least Chromium constantly shows a warning that the cursor is hidden which becomes annoying really quick