fix drag&drop on iOS
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
export function allowDrop(event: DragEvent) {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
export function allowDrag(event: DragEvent) {
|
||||
event.dataTransfer?.setData("text", "")
|
||||
}
|
||||
Reference in New Issue
Block a user