Skip to content

Conversation

nnaydenow
Copy link
Contributor

If a fast navigation group is defined on a custom element and the first node in its shadow root is a comment, an error is thrown when looking up a focusable element. Now, lookup runs only on element nodes, skipping comments.

Fixes: #12158

@nnaydenow nnaydenow requested review from ilhan007 and pskelin August 21, 2025 09:45
@nnaydenow nnaydenow changed the title fix(f6navigation): skip non-element nodes when resolving navigation g… fix(f6navigation): skip non-element nodes when resolving groups Aug 21, 2025
@nnaydenow nnaydenow merged commit 060af95 into main Aug 22, 2025
19 of 20 checks passed
@nnaydenow nnaydenow deleted the f6-comments branch August 22, 2025 06:55
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.

[F6Navigation]: Crashes on web components which have a comment as first child.
2 participants