Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rortan134 committed May 7, 2024
1 parent e4308ab commit f4dcaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1030,9 +1030,9 @@ const Content = React.forwardRef<HTMLDivElement, ContentProps>(function (
}
}}
onPointerMove={(event) => {
lastKnownPointerEventRef.current = event;
if (handleOnly) return;
rest.onPointerMove?.(event);
lastKnownPointerEventRef.current = event;

if (!pointerStartRef.current) return;
const yPosition = event.clientY - pointerStartRef.current.y;
Expand Down

0 comments on commit f4dcaec

Please sign in to comment.