Merge pull request #18074 from luchillo17/fix/BCKSTG-194-keyboard-navigation---home---

Keyboard navigation to EntityContextMenu now focus-visible the first element.
This commit is contained in:
Patrik Oldsberg
2023-06-06 14:38:09 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -142,7 +142,7 @@ export function EntityContextMenu(props: EntityContextMenuProps) {
transformOrigin={{ vertical: 'top', horizontal: 'right' }}
aria-labelledby="long-menu"
>
<MenuList>
<MenuList autoFocusItem={Boolean(anchorEl)}>
{extraItems}
<UnregisterEntity
unregisterEntityOptions={UNSTABLE_contextMenuOptions}