[feat] drag polyfill

This commit is contained in:
kwaroran
2023-07-21 00:30:01 +09:00
parent 0edf8d8045
commit 3fc423577a

View File

@@ -314,11 +314,9 @@
} }
const preventIfPolyfilled = (e:Event) => { const preventIfPolyfilled = (e:Event) => {
if(globalThis.polyfilledDragDrop){ e.preventDefault()
e.preventDefault() e.stopPropagation()
e.stopPropagation() return false
return false
}
} }
onDestroy(unsub); onDestroy(unsub);