huylg
(huylg)
March 22, 2026, 4:50pm
1
Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Closing the chat panel causes focus to be lost
Steps to Reproduce
Focus on the editor
Open the chat panel → focus shifts to the chat panel
Close the chat panel → focus is lost
Expected Behavior
Focus returns to the editor when closing the chat panel.
It should work like toggling the main sidebar.
Operating System
MacOS
Version Information
Version: 2.7.0-pre.105.patch.0
VSCode Version: 1.105.1
Commit: 561cd068bc5ff3a5ba120dbcb469267cd6e6cfe0
Date: 2026-03-20T18:25:23.896Z
Build Type: Stable
Release Track: Nightly
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
deanrie
(Dean Rie)
March 22, 2026, 5:04pm
3
Hey, thanks for the report.
I wasn’t able to reproduce this on my end - closing the chat panel returns focus to the editor as expected. Could you share a short screen recording showing the issue? Also, does this happen consistently or only in certain scenarios (e.g., specific file types open, multiple editor groups, etc.)?
Since you’re on nightly (2.7.0-pre.105), it might also be worth checking if the issue persists after restarting Cursor.
huylg
(huylg)
March 22, 2026, 5:09pm
5
Just a basic use case with the toggle chat panel.
1 Like
deanrie
(Dean Rie)
March 22, 2026, 5:21pm
6
Thanks for the video - this clears things up.
I passed this to the team - the issue looks like it’s related to how the layout handles closing the panel without restoring focus back to the editor.
1 Like
system
(system)
Closed
April 13, 2026, 5:22pm
9
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.