[Bug]: Restore focus to the same control when switching back to a thread#29041
Before submitting
- 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.
Impact
Minor bug or occasional failure
Version or commit
0.1.6
Environment
Linux desktop
Logs or stack traces
shell
| 1 |
Screenshots, recordings, or supporting files
Workaround
No response