@homebound/beam 2.413.1 → 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
@@ -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(