You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
claviska
changed the title
Dropdown: arrow keys not working as expected
Menu: arrow keys not working as expected when used in a shadow root
Mar 22, 2021
Thanks for reporting this. It turned out to be a bug in sl-menu, not sl-dropdown.
Due to retargeting, when document.activeElement is used and the focused element is inside a shadow root, the active element is reported as the host element instead of the menu item.
sidharthramesh
added a commit
to sidharthramesh/medblocks-ui-componets
that referenced
this issue
Mar 22, 2021
Describe the bug
When the sl-dropdown is nested inside another custom element (using lit-element) the arrow down key only moves till the 2nd option.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The same behaviour as when using it directly on a page.
Desktop (please complete the following information):
Screen recording
The text was updated successfully, but these errors were encountered: