@lucasols/dnd-kit-core 0.1.1 → 0.1.4

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.
@@ -1774,7 +1774,7 @@ function useAutoScroller(_ref) {
1774
1774
 
1775
1775
  const scrollLeft = scrollSpeed.current.x * scrollDirection.current.x;
1776
1776
  const scrollTop = scrollSpeed.current.y * scrollDirection.current.y;
1777
- scrollContainer.scrollBy(scrollLeft, scrollTop);
1777
+ scrollContainer.scrollBy(Math.round(scrollLeft), Math.round(scrollTop));
1778
1778
  }, []);
1779
1779
  const sortedScrollableAncestors = React.useMemo(() => order === exports.TraversalOrder.TreeOrder ? [...scrollableAncestors].reverse() : scrollableAncestors, [order, scrollableAncestors]);
1780
1780
  React.useEffect(() => {