fix(catalog): EntityContextMenu now focus visible the first element.
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Keyboard navigation to open EntityContextMenu now focus visible the first element.
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user