Skip to content

Commit 27c00d3

Browse files
committed
Backport crash fix from 0.8.3
1 parent c2735a3 commit 27c00d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DraggableCore.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export default class DraggableCore extends React.Component {
253253
// Call event handler. If it returns explicit false, trigger end.
254254
let shouldUpdate = this.props.onDrag(e, coreEvent);
255255
if (shouldUpdate === false) {
256-
this.handleDragStop();
256+
this.handleDragStop({});
257257
return;
258258
}
259259

0 commit comments

Comments
 (0)