Framer Motion » 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() hookThe useDragControls() hook gives you a […]
To access this page, you must purchase The Framer book.