[feat] drag polyfill
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user