Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

AutoScrollOptions

Represents additional configuration options for the autoScroll options of the useDraggable hook and Draggable component.

NameTypeDefaultDescription

boundaryElementRef?

"null" | RefObject<undefined>

Overrides the calculated element used for boundary detection, used to calculate the autoScroll velocity.

direction?

{ horizontal: boolean; vertical: boolean; }

Allows the user to toggle autoScroll in a specific direction.

enabled?

boolean

Set to false to disable the autoScroll feature.

In this article

Not finding the help you need?