Skip to content

Commit

Permalink
Restore ownFocus in the menu
Browse files Browse the repository at this point in the history
The shared observability component added the `ownFocus` property to the
popover menu. This added some accessibility text that we want to keep.
  • Loading branch information
Alejandro Fernández Gómez committed Jun 8, 2020
1 parent 0cc517b commit c869294
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ export const LogEntryActionsColumn: React.FC<LogEntryActionsColumnProps> = ({
<ActionsColumnContent>
{isHovered || isMenuOpen ? (
<AbsoluteWrapper>
<EuiPopover closePopover={onCloseMenu} isOpen={isMenuOpen} button={button}>
<EuiPopover
closePopover={onCloseMenu}
isOpen={isMenuOpen}
button={button}
ownFocus={true}
>
<EuiContextMenuPanel items={items} />
</EuiPopover>
</AbsoluteWrapper>
Expand Down

0 comments on commit c869294

Please sign in to comment.