diff --git a/src/Selection.js b/src/Selection.js index d5c9e7c69..36acbff60 100644 --- a/src/Selection.js +++ b/src/Selection.js @@ -317,6 +317,10 @@ class Selection { } _handleMoveEvent(e) { + if (this._initialEventData === null) { + return; + } + let { x, y } = this._initialEventData const { pageX, pageY } = getEventCoordinates(e) let w = Math.abs(x - pageX)