GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

04Handle-only — capturing the pointer on a small grip so the rest of the row stays interactive

Attaching pointerdown only to the grip icon rather than the whole row, then pinning subsequent movement to that element with setPointerCapture, keeps the row's buttons, text selection and links fully alive. Pointers starting outside the grip are filtered out early so they never escalate into a drag.

Best forSettings item lists, widget ordering

setPointerCapturepointerdownCSS custom properties
Handle-only — capturing the pointer on a small grip so the rest of the row stays interactive
Open in a new tab

04 Handle-only — capturing the pointer on a small grip so the rest of the row stays interactive — Measured area 34.737% · moving frames 7/23Original by GODRICH · SCSS and React ship in the zip · Drag to Reorder UI: 9 Lists, One Drop Index

The post this demo lives in

Drag to Reorder UI: 9 Lists, One Drop Index - preview of all 9 demosDrag to Reorder UI: 9 Lists, One Drop IndexDrag to reorder UI: Computing the drop index from pointer position reorders lists, kanban boards and grids -- with long- See all demos in this post

If you like this effect - similar demos