Repository navigation
Commit dd1a084
revert(web): keep the closing shell's focus rule to its own descendants
This reverts d386ef1. Treating body focus at close as panel-owned also
moved focus to the toggle after a user had clicked the timeline, which
breaks typing into the composer, and the toggle unmounts before the shell
cleanup in ChatView's real order. Focus on the add-surface trigger or menu,
or on a toggle that relocates, is left as it is on main.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent d386ef1 commit dd1a084
2 files changed
Lines changed: 2 additions & 55 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 51 | | |
63 | 52 | | |
64 | 53 | | |
| |||
155 | 144 | | |
156 | 145 | | |
157 | 146 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 147 | | |
194 | 148 | | |
195 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 121 | + | |
125 | 122 | | |
126 | 123 | | |
127 | 124 | | |
| |||
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
138 | | - | |
139 | | - | |
140 | 135 | | |
141 | | - | |
142 | 136 | | |
143 | | - | |
144 | | - | |
| 137 | + | |
145 | 138 | | |
146 | 139 | | |
147 | 140 | | |
| |||
0 commit comments