Search

Drag Controls

Drag Controls
Usually, when wanting to drag an element, you have to tap on it. But for some use-cases, it makes sense to not have to pick up the draggable element. For instance: when you tap a slider or video scrubber, the (draggable) knob should jump to where you tapped. The useDragControls() hookCursor snappingSome more examples The […]
To access this page, you must purchase The Mighty Motion Guide.
Scroll to Top