@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.cjs CHANGED
@@ -8704,7 +8704,7 @@ function RowImpl(props) {
8704
8704
  const cellElementWithHandle = import_react33.default.cloneElement(cellElement, {
8705
8705
  css: {
8706
8706
  ...cellElement.props.css || {},
8707
- ...Css.relative.$
8707
+ ...!maybeSticky && Css.relative.$
8708
8708
  },
8709
8709
  children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
8710
8710
  cellElement.props.children,
@@ -18106,12 +18106,11 @@ function DnDGrid(props) {
18106
18106
  (e) => {
18107
18107
  if (!reorderViaKeyboard.current && dragEl.current && gridEl.current) {
18108
18108
  initReorder();
18109
- const gridRect = gridEl.current.getBoundingClientRect();
18110
18109
  const rect = dragEl.current.getBoundingClientRect();
18111
18110
  const clientX = "clientX" in e ? e.clientX : e.touches[0].clientX;
18112
18111
  const clientY = "clientY" in e ? e.clientY : e.touches[0].clientY;
18113
- const top = rect.top - gridRect.top;
18114
- const left = rect.left - gridRect.left;
18112
+ const top = rect.top;
18113
+ const left = rect.left;
18115
18114
  transformFrom.current = { x: clientX - left, y: clientY - top };
18116
18115
  cloneEl.current = dragEl.current.cloneNode();
18117
18116
  cloneEl.current?.setAttribute(