Skip to content

Commit

Permalink
Fix Resize column doesnt work on firefox when also draggable (#963) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
laaglu authored and malonecj committed Feb 19, 2018
1 parent b4fff59 commit 603082f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-data-grid/src/Draggable.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class Draggable extends React.Component {

onMouseDown = (e: SyntheticMouseEvent) => {
let drag = this.props.onDragStart(e);
if (e.preventDefault) {
e.preventDefault();
}

if (drag === null && e.button !== 0) {
return;
Expand Down

0 comments on commit 603082f

Please sign in to comment.