Capítulo 193 de 411

Chapter 193: Draggable.autoScroll

Core Idea

Enables auto-scrolling of the container while dragging near its edge (within 40px); the value is a speed multiplier, not a boolean.

Reference Tables

PropertyTypeDefaultDescription
autoScrollNumber00 = off; 1 = normal speed, 2 = double, etc. Scrolls faster the closer the pointer is to the edge.

Key Takeaways

  1. Only relevant when the Draggable's target sits inside a scrollable container.

Connects To

  • Draggable bounds: auto-scroll and bounds are often combined so the draggable stays within a scrollable region.