Fixes
- Prevent infinite loop when dragging external items in controlled state (#2210)
Unclaimed project
Are you a maintainer of react-grid-layout? Claim this project to take control of your public changelog and roadmap.
Changelog
A draggable and resizable grid layout with responsive breakpoints, for React.
Last updated 2 months ago
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
Fixes
Do not use this release; contains a critical layout bug. Use 2.2.1 or later.
This release adds powerful new features for large-scale layouts and custom constraints, along with several bug fixes.
A new constraints system allows custom validation and transformation of layout items during drag and resize operations. Build aspect ratio locks, snap-to-grid, boundary restrictions, and more....
Version 2 is a complete TypeScript rewrite with a modernized hooks-based API. See the RFC for the full design document.
@types/react-grid-layout neededcalcXY when isBounded=true - Fixed an issue where grid items would move incorrectly when dragging with isBounded enabled. This was likely related to the fix in #2059. Thanks @wanpan11! #2102**Full C...
flushSync to fix cursor desync issues when dragging/resizing grid items in React 18. This addresses React 18's automatic batching behavior that was causing the drag position to lag behind the cursor. Thanks @ashharrison90! #2043...calcXY calculation - Fixed an issue where grid items were being positioned slightly above and to the left of where they should be during drag operations. Thanks @MaxMusing! #2059onBreakpointChange/onLayoutChange event order - `onBre...