fix drag&drop on iOS

This commit is contained in:
marlon-erler
2024-07-25 18:16:29 +02:00
parent 830aac08f3
commit 1fc3e9062b
4 changed files with 28 additions and 10 deletions
+4
View File
@@ -1,3 +1,7 @@
export function allowDrop(event: DragEvent) {
event.preventDefault();
}
export function allowDrag(event: DragEvent) {
event.dataTransfer?.setData("text", "")
}