@homebound/beam 2.413.0 → 2.413.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8336,7 +8336,7 @@ function RowImpl(props) {
8336
8336
  const cellElementWithHandle = React6.cloneElement(cellElement, {
8337
8337
  css: {
8338
8338
  ...cellElement.props.css || {},
8339
- ...Css.relative.$
8339
+ ...!maybeSticky && Css.relative.$
8340
8340
  },
8341
8341
  children: /* @__PURE__ */ jsxs20(Fragment10, { children: [
8342
8342
  cellElement.props.children,
@@ -17747,12 +17747,11 @@ function DnDGrid(props) {
17747
17747
  (e) => {
17748
17748
  if (!reorderViaKeyboard.current && dragEl.current && gridEl.current) {
17749
17749
  initReorder();
17750
- const gridRect = gridEl.current.getBoundingClientRect();
17751
17750
  const rect = dragEl.current.getBoundingClientRect();
17752
17751
  const clientX = "clientX" in e ? e.clientX : e.touches[0].clientX;
17753
17752
  const clientY = "clientY" in e ? e.clientY : e.touches[0].clientY;
17754
- const top = rect.top - gridRect.top;
17755
- const left = rect.left - gridRect.left;
17753
+ const top = rect.top;
17754
+ const left = rect.left;
17756
17755
  transformFrom.current = { x: clientX - left, y: clientY - top };
17757
17756
  cloneEl.current = dragEl.current.cloneNode();
17758
17757
  cloneEl.current?.setAttribute(