Commit c592ae3
committed
Refresh mention popup items in place instead of close/reopen
Every filter keystroke closed and reopened the @-mention overlay, which
released the shared overlay host for one tick. A queued permission/operator
gate drained into that gap and opened its own overlay; the reopen then
no-op'd against the busy host while mentionPopups still claimed ownership,
so later keystrokes went nowhere. Use setOverlayItems to update the open
mentions list in place, only opening/closing on true entry/exit.
Fixes CL-6698
https://linear.app/abklabs/issue/CL-66981 parent 1b22fa2 commit c592ae3
2 files changed
Lines changed: 90 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
227 | 290 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5052 | 5052 | | |
5053 | 5053 | | |
5054 | 5054 | | |
| 5055 | + | |
| 5056 | + | |
| 5057 | + | |
| 5058 | + | |
| 5059 | + | |
| 5060 | + | |
| 5061 | + | |
| 5062 | + | |
| 5063 | + | |
| 5064 | + | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
| 5068 | + | |
| 5069 | + | |
| 5070 | + | |
5055 | 5071 | | |
5056 | 5072 | | |
5057 | 5073 | | |
5058 | 5074 | | |
5059 | | - | |
5060 | | - | |
| 5075 | + | |
| 5076 | + | |
| 5077 | + | |
5061 | 5078 | | |
5062 | 5079 | | |
5063 | | - | |
5064 | | - | |
| 5080 | + | |
| 5081 | + | |
5065 | 5082 | | |
5066 | 5083 | | |
5067 | 5084 | | |
| |||
5076 | 5093 | | |
5077 | 5094 | | |
5078 | 5095 | | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
5079 | 5102 | | |
5080 | 5103 | | |
5081 | 5104 | | |
| |||
0 commit comments