dragtoscroll
Dragtoscroll is a user interface interaction pattern that enables scrolling of content by clicking or tapping and then dragging, rather than using a scrollbar, wheel, or swipe gestures alone. It is commonly used for horizontal and vertical scrolling in image galleries, product carousels, maps, and other large canvases where continuous dragging enhances navigation.
How it works in practice: the pattern relies on pointer input. When a drag starts, the system
Implementation considerations: the technique is typically applied to a scrollable container with overflow set to auto
Accessibility and usability: dragtoscroll should not impede keyboard navigation or screen readers. Providing alternative controls or
See also: drag-to-scroll, drag scrolling, pointer events, inertia scrolling.