Skip to content

fix(issues): Close assignee menu before invite modal - #121006

Merged
scttcper merged 1 commit into
masterfrom
scttcper/assignee-invite-focus
Jul 31, 2026
Merged

fix(issues): Close assignee menu before invite modal#121006
scttcper merged 1 commit into
masterfrom
scttcper/assignee-invite-focus

Conversation

@scttcper

Copy link
Copy Markdown
Member

Opening Invite Member from the assignee selector left the menu's focus scope active while the global modal created a second focus trap. That can bounce focus between both overlays and freeze the page.

Close the assignee menu before launching the modal, matching #121005.

The assignee menu kept its contained focus scope active while the invite modal opened another focus trap. Close the menu first so the traps do not fight over focus.

Adds coverage that the menu is removed when the invite action runs.

Co-Authored-By: Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 31, 2026
@scttcper
scttcper marked this pull request as ready for review July 31, 2026 21:01
@scttcper
scttcper requested a review from a team July 31, 2026 21:02
@scttcper
scttcper merged commit 88f2850 into master Jul 31, 2026
79 checks passed
@scttcper
scttcper deleted the scttcper/assignee-invite-focus branch July 31, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants