Browse Source

fix "emulate drag over" with nested web components

pull/1371/head
Yorrd 6 years ago committed by GitHub
parent
commit
d3c5d86067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      Sortable.js

9
Sortable.js

@ -562,10 +562,11 @@
var parent = target;
var i = touchDragOverListeners.length;
while (target && target.shadowRoot) {
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
parent = target;
}
do {
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
} while (target && target.shadowRoot);
parent = target;
if (parent) {
do {

Loading…
Cancel
Save