Skip to content

Commit 29642f9

Browse files
committed
More consistent ctrl+v pasting
1 parent 0e38935 commit 29642f9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

components/system/Files/FileManager/useFileKeyboardShortcuts.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ const useFileKeyboardShortcuts = (
141141
break;
142142
case "v":
143143
event.stopPropagation();
144-
if (target instanceof HTMLOListElement) {
144+
if (
145+
!(target instanceof HTMLInputElement) &&
146+
!(target instanceof HTMLTextAreaElement)
147+
) {
145148
pasteToFolder();
146149
}
147150
break;

0 commit comments

Comments
 (0)