Repository navigation
Commit eb206c6
fix(web): returning to the window no longer pulls focus from the device screen
Window refocus moves focus to the composer unless the focused element is
a text field, preview, terminal, dialog, or popup. The device screen is a
focusable role="application" element that forwards keys to the device,
so coming back to the window took focus from it. Leave focus alone inside
[role="application"], the same as type-to-focus now does.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 5b72531 commit eb206c6
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
1848 | 1854 | | |
1849 | 1855 | | |
1850 | 1856 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
1248 | | - | |
| 1248 | + | |
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
| |||
0 commit comments