Skip to content

[pull] main from adobe:main - #484

Merged
pull[bot] merged 1 commit into
code:mainfrom
adobe:main
Aug 20, 2026
Merged

[pull] main from adobe:main#484
pull[bot] merged 1 commit into
code:mainfrom
adobe:main

Conversation

@pull

@pull pull Bot commented Aug 20, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

getFirstInScope() returns the result of TreeWalker.nextNode(), which is null
when the scope contains no focusable element, for example when its focusable
content has been removed or hidden. The restoreFocus fallback passed that
value straight into restoreFocusToElement(), throwing a TypeError on a null
dereference. Correct the misleading return type and skip scopes with nothing
to restore to, continuing up the focus scope tree instead.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Aug 20, 2026
@pull pull Bot added the ⤵️ pull label Aug 20, 2026
@pull
pull Bot merged commit 14b74f3 into code:main Aug 20, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants