Skip to content

Commit

Permalink
fix: emit columnResizeStop event when column is not resized
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuseap committed May 30, 2024
1 parent c6b6c5d commit 82d0c8b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ export const useGridColumnResize = (
nativeEvent.clientY === prevClientY
) {
refs.previousMouseClickEvent = undefined;
apiRef.current.publishEvent('columnResizeStop', null, nativeEvent);
return;
}
}
Expand Down

0 comments on commit 82d0c8b

Please sign in to comment.