Skip to content

Stop mention popup refresh from draining queued gates - #515

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-6698-stop-mention-popup-close-reopen-from-draining-queued-gates
Aug 22, 2026
Merged

Stop mention popup refresh from draining queued gates#515
TheGreatAxios merged 1 commit into
mainfrom
cl-6698-stop-mention-popup-close-reopen-from-draining-queued-gates

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Every @-mention filter keystroke closed and reopened the overlay, releasing the shared overlay host for one tick; a queued permission/operator gate could drain into that gap and open onto the host while the mention popup's own ownership tracking stayed stale. This refreshes the open mentions list in place via setOverlayItems, only closing/opening on true open/dismiss, so a queued gate can no longer open mid-session and mention filtering keeps working across refreshes.

Fixes CL-6698
https://linear.app/abklabs/issue/CL-6698

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-6698
@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

CL-6698

@TheGreatAxios
TheGreatAxios merged commit cbae96a into main Aug 22, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant