Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into release-2211.29.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rmch91 committed Oct 9, 2024
2 parents fe16888 + 1e58a6a commit bc885a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/storefrontlib/layout/main/storefront.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ export class StorefrontComponent implements OnInit, OnDestroy {
}

protected focusOnFirstNavigationItem() {
const closestNavigationUi =
this.elementRef.nativeElement.querySelector('cx-navigation-ui');
const closestNavigationUi = this.elementRef.nativeElement.querySelector(
'header cx-navigation-ui'
);
const focusable = closestNavigationUi?.querySelector<HTMLElement>(
'li:not(.back) button, [tabindex="0"]'
);
Expand Down

0 comments on commit bc885a4

Please sign in to comment.