Skip to content

Commit 450b6d4

Browse files
authored
Pass event down to onChange
1 parent 6457f7a commit 450b6d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ module.exports = class extends React.Component {
6969
evt.item.parentNode.removeChild(evt.item);
7070
}
7171

72-
remote.props.onChange && remote.props.onChange(remoteItems, remote.sortable);
72+
remote.props.onChange && remote.props.onChange(remoteItems, remote.sortable, evt);
7373
}
7474

75-
this.props.onChange && this.props.onChange(items, this.sortable);
75+
this.props.onChange && this.props.onChange(items, this.sortable, evt);
7676
}
7777

7878
setTimeout(() => {

0 commit comments

Comments
 (0)