You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drag and drop functionality is fully operational in the terminal/CLI mode but completely non-functional in the VS Code extension chat panel. This is a regression introduced around v2.1.6 and remains unresolved as of v2.1.39 (latest tested).
This issue consolidates multiple fragmented reports into a single tracking issue, as the root cause appears to be the same across all of them.
Open Claude Code in VS Code extension (sidebar or tab view)
Drag a file from Finder / VS Code file explorer / desktop into the chat input area
Observe: the drop event is silently ignored — no file attachment, no path insertion, no visual feedback
Expected Behavior
Files dragged into the chat panel should be attached as context, consistent with the terminal CLI behavior where file paths are inserted into the prompt on drop.
Actual Behavior
The drop action is completely ignored. No error, no visual feedback, no file reference added.
Root Cause Analysis
Based on investigation across related issues, the likely root cause is:
Missing or broken drop event handlers in the VS Code webview: The extension's chat panel runs inside a VS Code webview. Webviews require explicit drop/dragover event listeners and event.preventDefault() on dragover to enable drop. If these were removed or broken during the v2.1.6 refactor, drops would be silently ignored — which is exactly the observed behavior.
Layout-dependent behavior (Shift+drag file to chat not working in VS Code UI (works in CLI) #18037): Drop works in tab view but not sidebar view, suggesting the webview's drop zone dimensions or event propagation differ between layouts. This points to a CSS/DOM issue where the drop target element doesn't cover the full input area in sidebar mode.
VS Code API limitation: VS Code's WebviewView (sidebar) has different capabilities than WebviewPanel (tab). The sidebar webview may have additional restrictions on drag events that need explicit handling via vscode.DataTransfer.
Impact
This is a high-impact workflow regression affecting daily productivity:
Users must fall back to manual @ mentions or /add commands
Breaks muscle memory and slows down file-heavy workflows
Multiple users in related issues report considering alternatives to Claude Code
Related Issues (Consolidation)
This issue consolidates the following fragmented reports — all appear to share the same root cause:
Bug Description
Drag and drop functionality is fully operational in the terminal/CLI mode but completely non-functional in the VS Code extension chat panel. This is a regression introduced around v2.1.6 and remains unresolved as of v2.1.39 (latest tested).
This issue consolidates multiple fragmented reports into a single tracking issue, as the root cause appears to be the same across all of them.
Environment
Steps to Reproduce
Expected Behavior
Files dragged into the chat panel should be attached as context, consistent with the terminal CLI behavior where file paths are inserted into the prompt on drop.
Actual Behavior
The drop action is completely ignored. No error, no visual feedback, no file reference added.
Root Cause Analysis
Based on investigation across related issues, the likely root cause is:
Missing or broken
dropevent handlers in the VS Code webview: The extension's chat panel runs inside a VS Code webview. Webviews require explicitdrop/dragoverevent listeners andevent.preventDefault()ondragoverto enable drop. If these were removed or broken during the v2.1.6 refactor, drops would be silently ignored — which is exactly the observed behavior.Layout-dependent behavior (Shift+drag file to chat not working in VS Code UI (works in CLI) #18037): Drop works in tab view but not sidebar view, suggesting the webview's drop zone dimensions or event propagation differ between layouts. This points to a CSS/DOM issue where the drop target element doesn't cover the full input area in sidebar mode.
VS Code API limitation: VS Code's
WebviewView(sidebar) has different capabilities thanWebviewPanel(tab). The sidebar webview may have additional restrictions on drag events that need explicit handling viavscode.DataTransfer.Impact
This is a high-impact workflow regression affecting daily productivity:
@mentions or/addcommandsRelated Issues (Consolidation)
This issue consolidates the following fragmented reports — all appear to share the same root cause:
Workarounds
@filenameto reference files in chat/addcommand: Use/add <path>to manually add files to context