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
{{ message }}
Repository navigation
[Bug]: Closing the right panel by shortcut moves focus to the panel toggle instead of where it was before opening #32532
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
Web app / right panel
Steps to reproduce
Click into the prompt field of a thread.
Press ⌘⌥B to open the right panel. Focus moves into the panel.
Press ⌘⌥B again to close it.
Expected behavior
Focus goes back to the prompt field, where it was before the panel opened, so you can keep typing.
Actual behavior
Focus lands on the right panel's toggle button.
You have to click the prompt field or press F6 to get back to it.
Impact
It breaks the keyboard flow of opening the panel to glance at something and then continuing to type.
This happens on every open/close cycle.
Version or commit
T3 Code (Beta) 0.1.7
Environment
macOS 15.6, desktop app
Logs or stack traces
N/A
Screenshots, recordings, or supporting files
N/A
Notes
PanelLayoutControls.tsx focuses [data-right-panel-toggle] when the panel closes while it contains focus.
That's a sensible fallback, but if focus was somewhere else when the panel opened and that element still exists, returning focus there is the usual pattern for a panel or dialog.
Activity
nicolegros commentedon Nov 7, 2026
Duplicate of #32538, refiled through the bug report form.