Last updated on
2026-06-01
With React Flow 12.11.0, we are excited to introduce the autoPanOnSelection prop. This new feature allows the viewport to automatically pan when a user drags a selection close to the edge of the viewport.
autoPanOnSelection to auto-pan when user drags a selection close to the edge of the viewport.handleId is used without handleType in useNodeConnectionsNodeHandle type@types/react and @types/react-dom as optional peer dependencies to prevent issues with pnpm strict mode (hoist: false)useEffect for StoreUpdater to restore previous behaviour