All Versions
91
Latest Version
Avg Release Cycle
64 days
Latest Release
766 days ago

Changelog History
Page 1

  • v1.3.4 Changes

    February 21, 2022

    🛠 Bugfixes

    • ➕ Add e.stopPropagation() on drag events to better support nested grids. Thanks @rogerfar #1494.

    Internal Changes

    • ⬆️ Various dependency upgrades.
  • v1.3.3 Changes

    January 24, 2022

    🚀 This was a quick release to improve package size and dependency use. Thanks @salvoravida #1655

    🛠 Bugfixes

    • ✂ Removed coverage/ folder from npm package to save size
    • 👕 Moved eslint parser to devDependencies
  • v1.3.2 Changes

    January 24, 2022

    Internal Changes

    • 📦 Package size reduced by ~30% by removing source in dist/ source maps.
    • ✅ Various tests added (thanks @imagineLife!)
    • 🆕 New GitHub Actions flow for PRs
  • v1.3.1 Changes

    November 29, 2021

    🛠 Bugfixes

    • 🛠 Fix allowOverlap not firing onLayoutChange(). #1620
      • This was due to a short-circuiting of internal logic that did not properly clone the layout prop.

    Internal Changes

    • 📦 Replace classnames with clsx for smaller package size. (#1543)
  • v1.3.0 Changes

    August 27, 2021

    🆕 New Features

    • allowOverlap prop, when true, allows overlapping grid items. #1470
    • ➕ Add onDropDragOver callback. #1395
      • Use this callback to dynamically adjust the droppingItem based on what is being dragged over. Return w and h to adjust the item. It is then spread into the dropping placeholder.
      • This callback has the type:
      • onDragOver: (e: DragOverEvent) => { w: number, h: number } | false;
      • Return false to short-circuit the dragover.

    🛠 Bugfixes

    • ✂ Remove sorting when compactType is null. #1474
    • ⬇️ Droppable fixes for Chrome behavior. #1442 #1448
    • 👍 Allow null children as a convenience so that inline expressions don't break the library. #1296
    • ⬆️ Various dependency upgrades.

    📚 Documentation

    • ➕ Add docs on using custom components as grid children.
    • Note required class on resizable handles for proper styling.
  • v1.2.5 Changes

    May 10, 2021

    🛠 Bugfixes

    • Ensure no negative positions are possible when compacting
    • 🛠 Fix resizing on mobile. This was caused by the ref refactor to remove ReactDOM in 1.2.3.
      • Fixes #1458
      • Note: this upgrades react-resizable to 3.0.1, which like our other deps, is only compatible with React@>=16.3.

    📚 Documentation

    • Document new arity of resizeHandle ((axis: ResizeHandleAxis, ref: ReactRef<HTMLElement>) => React$Element)
    • ✂ Remove references to the deprecated verticalCompact prop
  • v1.2.4 Changes

    March 18, 2021

    🛠 This version fixes a serious render bug in <WidthProvider>. 1.2.3 should not be used.

    🛠 Bugfixes

    • 🛠 Fix failure to mount when layout is WidthProvider-wrapped and measureBeforeMount is true.
    • ⚡️ <WidthProvider> no longer updates grid with if it has been set to 0. This prevents unnecessary updates if the grid is set to display: none;. Thanks @405go #1427
  • v1.2.3 Changes

    March 16, 2021

    🆕 New Features

    • React-Grid-Layout is now fully compatible with <React.StrictMode>.
      • Usage of ReactDOM has been removed by using React.createRef() inside RGL, and the new nodeRef prop in react-draggable.
  • v1.2.2 Changes

    March 01, 2021

    🛠 Bugfixes

    • 🛠 onResize as changed in 1.2.1 did not correctly save the layout. This is now fixed.
      • As you might guess, we need more test coverage! PRs are very welcome, I'll buy you beers on Cashapp or Patreon or whatever you like.
  • v1.2.1

    March 01, 2021