Browse Source

fix for nested sortables with react-sortablejs

Could you add this conditional so that I can use nested sortables with react-sortablejs?
https://github.com/cheton/react-sortable/issues/23
pull/1299/head
Nobuyuki Fujioka 7 years ago committed by GitHub
parent
commit
6e2b9a1a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Sortable.js

4
Sortable.js

@ -1338,7 +1338,9 @@
evt.originalEvent = originalEvt;
rootEl.dispatchEvent(evt);
if(rootEl) {
rootEl.dispatchEvent(evt);
}
if (options[onName]) {
options[onName].call(sortable, evt);

Loading…
Cancel
Save