-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Closed
Description
What happened?
When using Cline in "Open in Editor" mode (as a tab panel), the editor steals focus back to Cline's chat input whenever switching between Cline and other code tabs. This makes it difficult to work with multiple files as the focus is constantly pulled back to Cline.
Expected behavior
When switching between tabs, focus should remain on the tab/editor that the user clicked on. The chat input should only be focused when explicitly requested (e.g., via keyboard shortcut Cmd/Ctrl+').
Steps to reproduce
- Open Cline in the sidebar
- Click "Open in Editor" button (or use the command)
- Open any code file in another tab
- Click on the code file tab to focus on it
- Click back on the Cline tab
- Try to click on the code file tab again
- Notice that focus is immediately stolen back to Cline's chat input
Relevant API REQUEST output
Provider/Model
none
Operating System
macOS Monterey
System Info
Apple M1 (2020)
Cline Version
3.18.3
Additional context
cline_issue.mov
benjamincharity and wpdough
Metadata
Metadata
Assignees
Labels
No labels