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
[x] 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?
[x] 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.
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
What is the destination branch of this PR?
Main
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: