For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
useEdgeScroll
Auto-scroll scroll containers while dragging near edges.
useEdgeScroll powers the autoScroll behavior in DndGrid. Use it directly
when you need auto-scroll for custom drag interactions.
Example
import { useRef } from "react";
import { AutoScrollActivator, useEdgeScroll } from "@dnd-grid/react";
export function EdgeScrollCard() {
const cardRef = useRef
Published with Edda