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]: Restore focus to the same control when switching back to a thread #29041
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open a thread with its terminal visible.
Click the composer so it has focus.
Switch to another thread.
Switch back to the first thread.
Expected behavior
Focus returns to the control that had focus when I left the thread. In this example, the composer should still have focus. The terminal should receive focus only if it had focus when I switched away.
Actual behavior
The terminal has focus when I return to the thread.
Activity