Skip to content

build(deps): Bump react-grid-layout from 1.5.3 to 2.2.3#12

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-grid-layout-2.2.3
Open

build(deps): Bump react-grid-layout from 1.5.3 to 2.2.3#12
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-grid-layout-2.2.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 18, 2026

Copy link
Copy Markdown

Bumps react-grid-layout from 1.5.3 to 2.2.3.

Release notes

Sourced from react-grid-layout's releases.

2.2.3

🧪 Tests

🔧 Internal Changes

2.2.2

🧪 Tests

  • prevent infinite loop when dragging external items in controlled state (#2210) - #2225 by @​STRML

🔧 Internal Changes

  • prevent infinite loop when dragging external items in controlled state (#2210) - #2225 by @​STRML

2.2.1

📚 Documentation

🧪 Tests

  • add defensive guards for drag-from-outside edge cases (#2210) - #2220 by @​STRML
  • remove calcDragPosition from default strategies to fix drag position jump - #2223 by @​STRML
  • use compactor.compact() everywhere, remove compat layers (#2213) - #2222 by @​STRML

2.2.0

Do not use this release; contains a critical layout bug. Use 2.2.1 or later.

🧪 Tests

2.1.1

📚 Documentation

  • document TypeScript type migration from @​types/react-grid-layout - #2200 by @​STRML

... (truncated)

Changelog

Sourced from react-grid-layout's changelog.

Changelog

2.2.1 (Dec 30, 2025)

Bug Fixes

  • Drag position: Fix items jumping half a screen down when drag starts on a grid container offset from the page top. Removed calcDragPosition from default position strategies since react-draggable handles parent-relative coordinates correctly. #2223
  • Compactor: Ensure all internal v2 code uses compactor.compact() instead of the legacy compact() function. Added optional compactor prop to hooks (useGridLayout, useResponsiveLayout) that takes precedence over compactType/allowOverlap. Fixed negative coordinate handling in compactors. #2222, fixes #2213
  • Drag-from-outside: Add defensive guards for edge cases with drag enter/leave counter synchronization. Made removeDroppingPlaceholder idempotent and prevented negative counter values. #2220, fixes #2210

Internal Changes

  • Removed never-exported compat layers (utils-compat.ts, responsive-compat.ts, calculate-compat.ts). These were internal implementation details and were never part of the public API.
  • Removed onMove() method from Compactor interface. Custom compactors should implement only compact().

2.2.0 (Dec 29, 2025)

Bug Fixes

  • GridItem: Fix infinite loop when dragging from outside then leaving the grid without releasing the mouse. Applied the same layoutRef pattern from GridLayout to GridItem's constraint context. #2214, fixes #2210
  • DropConfig: Fix dropConfig.onDragOver being ignored. The v2 API's onDragOver callback is now properly called when provided. #2215, fixes #2212
  • Compactor: Fix custom compactor's compact() method never being called. GridLayout was extracting properties but ignoring the method implementations. #2216, fixes #2213
  • PositionStrategy: Fix custom calcStyle() and calcDragPosition() methods never being called. Custom position strategies can now fully override positioning behavior. #2217
  • DragConfig: Implement threshold property (default 3px for v2 API). Drag callbacks now wait until mouse moves the threshold distance before firing, preventing accidental drags on click. Legacy API uses threshold=0 for backwards compatibility. #2217, fixes #1341, #1401

2.1.1 (Dec 21, 2025)

Bug Fixes

  • Legacy API: Fix allowOverlap not working in legacy mode. Added noOverlapCompactor for when compactType=null and allowOverlap=true. #2207
  • GridLayout: Fix "Maximum update depth exceeded" during drag/resize/drop operations. Used layoutRef pattern to prevent callbacks from being recreated on every layout change. #2208
  • useResponsiveLayout: Fix infinite re-render loop when passing inline objects as layouts prop. Added separate ref to track props vs state changes. #2209

2.1.0 (Dec 14, 2025)

New Features

Pluggable Layout Constraints System

A new constraints system allows custom validation and transformation of layout items during drag and resize operations. #2190

import { createConstraintEnforcer, aspectRatioConstraint, positionConstraint } from "react-grid-layout/core";
const enforcer = createConstraintEnforcer([
aspectRatioConstraint(16 / 9),
positionConstraint({ minX: 0, maxX: 10 })
]);
<GridLayout constraintEnforcer={enforcer} />
</tr></table>

... (truncated)

Commits
  • a2f3f74 release 2.2.3
  • 061c607 chore: add codemaps, .reports, .ccells-state.json to gitignore
  • de671ae chore: update dependencies
  • 92135fe Merge PR #2237: fix visual resize preview constrained to minW/maxW/minH/maxH ...
  • ba1b105 refactor: remove unnecessary exports, add Infinity test for calcGridItemWHPx
  • ebd1bf5 Merge branch 'look-open-issues'
  • b84fca3 Merge pull request #2239 from WhiteMinds/fix/duplicate-dropping-elem-race-con...
  • e4bc3ac fix: prevent duplicate dropping-elem from race condition in handleDragOver
  • 294a8ef fix: visual resize preview constrained to minW/maxW/minH/maxH (#2235)
  • d4bb483 chore(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#2234)
  • Additional commits viewable in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


@dependabot @github

dependabot Bot commented on behalf of github Jun 18, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: javascript. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 18, 2026
@dependabot dependabot Bot requested a review from ljiang-slac as a code owner June 18, 2026 22:55
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 18, 2026
Bumps [react-grid-layout](https://github.com/STRML/react-grid-layout) from 1.5.3 to 2.2.3.
- [Release notes](https://github.com/STRML/react-grid-layout/releases)
- [Changelog](https://github.com/react-grid-layout/react-grid-layout/blob/master/CHANGELOG.md)
- [Commits](react-grid-layout/react-grid-layout@1.5.3...2.2.3)

---
updated-dependencies:
- dependency-name: react-grid-layout
  dependency-version: 2.2.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/react-grid-layout-2.2.3 branch from 2ebc94f to 8f6ffbe Compare June 24, 2026 20:12
@github-actions

Copy link
Copy Markdown

🤖 GitHub Copilot Review Available

This PR can be reviewed using GitHub Copilot. To use it:

In GitHub Web Interface:

  1. Click on the "Files changed" tab
  2. Use the Copilot button to review changes
  3. Or comment: @github-copilot review this PR

In VS Code:

  1. Install GitHub Copilot extension
  2. Open the PR in VS Code
  3. Use Copilot chat to review changes

Automated Checks:

  • ✅ Security scanning with Trivy and CodeQL
  • ✅ Code quality analysis (ESLint, Prettier, Black, Flake8)
  • ✅ Type checking (MyPy)

All automated checks are running on this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants