From 847cc6b28a415f3a502b4e22d1290c564967396f Mon Sep 17 00:00:00 2001 From: RubaXa Date: Mon, 26 Feb 2018 18:46:31 +0300 Subject: [PATCH] #1282: * shadowRoot --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index bec7954..f4b163b 100644 --- a/Sortable.js +++ b/Sortable.js @@ -555,7 +555,7 @@ var parent = target; var i = touchDragOverListeners.length; - if (target && target.shadowRoot) { + while (target && target.shadowRoot) { target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY); parent = target; }