We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07708fa commit 7f0a463Copy full SHA for 7f0a463
1 file changed
src/Sortable.js
@@ -755,6 +755,10 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
755
756
while (target && target.shadowRoot) {
757
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
758
+ const host = target.getRootNode().host;
759
+ if (host) {
760
+ target = host;
761
+ }
762
if (target === parent) break;
763
parent = target;
764
}
0 commit comments