fix: route clipboard image pastes to the attachment strip #295

Merged
talksik merged 5 commits from claude/markdown-image-upload-fix-t9ggfa into main 2026-06-21 16:15:21 +00:00
Showing only changes of commit 372b12f339 - Show all commits
+2 -1
View File
@@ -111,7 +111,8 @@ export function useFileInput({
e.stopPropagation();
dragCountRef.current = 0;
setIsDragging(false);
const files = Array.from(e.dataTransfer.files);
const files = transferFiles(e.dataTransfer);
if (files.length > 0) {
onFilesRef.current(files);
}