react-grid-layout
Advanced tools
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.Changelog
1.3.2 (Jan 24, 2022)
dist/
source maps.Changelog
1.3.0 (Aug 27, 2021)
allowOverlap
prop, when true
, allows overlapping grid items. #1470onDropDragOver
callback. #1395
droppingItem
based on what is being dragged over. Return w
and h
to adjust the item. It is then spread into the dropping placeholder.onDragOver: (e: DragOverEvent) => { w: number, h: number } | false;
false
to short-circuit the dragover.compactType
is null
. #1474null
children as a convenience so that inline expressions don't break the library. #1296