diff --git a/packages/vx-drag/src/Drag.tsx b/packages/vx-drag/src/Drag.tsx index 3cd95af17..5fadd71fa 100644 --- a/packages/vx-drag/src/Drag.tsx +++ b/packages/vx-drag/src/Drag.tsx @@ -99,9 +99,7 @@ export default class Drag extends React.Component { event.persist(); this.setState( - () => ({ - isDragging: false, - }), + { isDragging: false }, onDragEnd && (() => { onDragEnd({ ...this.state, event });