From 7fb2525f2eb1532c1da13fd7535aaa57071f995f Mon Sep 17 00:00:00 2001 From: g1nation Date: Thu, 30 Apr 2026 14:21:19 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20IDE=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0=20=EB=B0=8F=20Kodari=20DnD=20=EB=8F=99=EA=B8=B0?= =?UTF-8?q?=ED=99=94=20=EA=B0=80=EC=9D=B4=EB=93=9C=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sidebarProvider.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sidebarProvider.ts b/src/sidebarProvider.ts index ea95a48..e4514a6 100644 --- a/src/sidebarProvider.ts +++ b/src/sidebarProvider.ts @@ -1786,6 +1786,13 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn document.body.addEventListener('drop', e => { const dt = e.dataTransfer; const files = dt.files; + + // ⭐ Kodari PD 가이드 반영: Input 요소의 상태를 드롭된 파일로 강제 동기화 + if (files && files.length > 0) { + fileInput.files = files; // Input의 files 속성 업데이트 + console.log(\`✅ [DnD] Input 상태 동기화 성공: \${files[0].name} 외 \${files.length - 1}개\`); + } + processFiles(files); }, false);