mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Focus field input on drop
This commit is contained in:
parent
bc26b283a0
commit
2ffcbc9c5d
1 changed files with 1 additions and 0 deletions
|
@ -374,6 +374,7 @@ export async function handlePaste(event: ClipboardEvent) {
|
|||
}
|
||||
|
||||
export async function handleDrop(event: DragEvent) {
|
||||
(event.target as HTMLElement).focus();
|
||||
await handlePasteOrDrop(event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue