We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181d29e commit 12ebe85Copy full SHA for 12ebe85
1 file changed
packages/grid/src/Grid.tsx
@@ -1868,6 +1868,12 @@ class Grid extends PureComponent<GridProps, GridState> {
1868
}
1869
1870
handleMouseUp(event: MouseEvent): void {
1871
+ // Ignore right click while dragging
1872
+ const { isDragging } = this.state;
1873
+ if (isDragging && event.button === 2) {
1874
+ return;
1875
+ }
1876
+
1877
window.removeEventListener('mousemove', this.handleMouseDrag, true);
1878
window.removeEventListener('mouseup', this.handleMouseUp, true);
1879
0 commit comments