We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dbb241 commit 79bd033Copy full SHA for 79bd033
1 file changed
lib/DraggableCore.es6
@@ -384,7 +384,9 @@ export default class DraggableCore extends React.Component {
384
385
this.setState({
386
lastX: s.lastX + coreEvent.position.deltaX,
387
- lastY: s.lastY + coreEvent.position.deltaY
+ lastY: s.lastY + coreEvent.position.deltaY,
388
+ scrollX: x,
389
+ scrollY: y
390
});
391
392
this.props.onDrag(e, coreEvent);
0 commit comments