Skip to content

Commit

Permalink
Merge branch 'develop' into feature/CXSPA-6793-wont-wix
Browse files Browse the repository at this point in the history
  • Loading branch information
Platonn authored Oct 9, 2024
2 parents 0010db9 + 1e58a6a commit 61ab098
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 61ab098

Please sign in to comment.