Skip to Content

2026-06-01

React Flow 12.11.0

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.

Minor Changes

  • #5677  - Add autoPanOnSelection to auto-pan when user drags a selection close to the edge of the viewport.

Patch Changes

  • #5791  - Adds a type error when handleId is used without handleType in useNodeConnections
  • #5793  - Dev Warnings now use library-specific messaging with the correct documentation links.
  • #5776  - Export NodeHandle type
  • #5755  - Add @types/react and @types/react-dom as optional peer dependencies to prevent issues with pnpm strict mode (hoist: false)
  • #5105  - Fix type for event passed to onNodeDrag
  • #5784  - Fix node resizing possible beyond absolute extents
  • #5769  - Use useEffect for StoreUpdater to restore previous behaviour

Get Pro examples, prioritized bug reports, 1:1 support from the maintainers, and more with React Flow Pro

Last updated on