Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BaseKeyboardNavigation): navigation with Shadow DOM enabled #1571

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

diegopf
Copy link
Contributor

@diegopf diegopf commented Jul 18, 2024

This pull request addresses the issues with the BaseKeyboardNavigation component when the Shadow DOM is enabled. The following changes have been made to ensure seamless keyboard navigation and event handling within Shadow DOM boundaries.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to not work as expected)
  • Change requires a documentation update

What is the destination branch of this PR?

  • Main
  • Other. Specify:

How has this been tested?

These changes should be tested along with x-archetype with Shadow DOM enabled. You can check that the predictive layer in the empathize component is now reachable with the keyboard. An additional unit test for retrieving the active element as added.

Tests performed according to testing guidelines:

@diegopf diegopf requested a review from a team as a code owner July 18, 2024 07:14
@lauramargar lauramargar merged commit 1784c4c into main Jul 18, 2024
4 checks passed
@lauramargar lauramargar deleted the fix/EMP-4518-keyboard-navigation-with-shadow-dom branch July 18, 2024 12:38
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.

3 participants