We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92cafe6 commit 0006960Copy full SHA for 0006960
src/Grid/GridItem/index.tsx
@@ -106,7 +106,7 @@ const GridItem: React.FC<ItemProps<Location>> = ({
106
if (!clientOffset) return;
107
108
const hoverClientY = clientOffset.y - hoverBoundingRect.top;
109
- const hoverClientX = clientOffset.x = hoverBoundingRect.left;
+ const hoverClientX = clientOffset.x - hoverBoundingRect.left;
110
111
if (vertical) {
112
if (dragIndex < hoverIndex && hoverClientY < hoverMiddleY) {
0 commit comments