Focus field input on drop

This commit is contained in:
Abdo 2025-06-24 16:06:30 +03:00
parent bc26b283a0
commit 2ffcbc9c5d

View file

@ -374,6 +374,7 @@ export async function handlePaste(event: ClipboardEvent) {
}
export async function handleDrop(event: DragEvent) {
(event.target as HTMLElement).focus();
await handlePasteOrDrop(event);
}