react-grid-layout
Advanced tools
Changelog
1.5.0 (Oct 9, 2024)
calcXY
moving grid items slightly above and to the left of where they should be. Thanks @MaxMusing. #2059onBreakpointChange
/onLayoutChange
event order. onBreakpointChange
now fires first. This should make managing responsive layouts easier, as you can set the current breakpoint in storage, then save the new layout to it.Changelog
1.4.4 (Nov 28, 2023)
e.nativeEvent.layer{X,Y}
properties. #1915containerPadding
, causing it to off by that value. On most grids, this is only set to [10, 10]
, so this may not have been noticeable, but for higher values it was very obvious. Thanks @hywlss9. #1323Changelog
1.4.0 (Sep 11, 2023)
Hey, it's been a long time! Taking a year and a half off is a pretty "open-source" thing to do, thanks for bearing with me.
resizeHandles
directions on your <GridItem>
s. See the example for more on how to do this.<WidthProvider>
now uses a ResizeObserver
instead of hooking into the window's 'resize'
event. #1839
<WidthProvider>
.horizontal
compact not always moving grid elements as far left as possible. #1822allowOverlap={true}
and compactType={null}
, where collisions would still be processed. #1782onResizeStop
and onDragStop
callbacks not returning updated layout. #1613data-grid
props change. #718_grid
property.