Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const AppMenuActionButton = (props: AppMenuActionButtonProps) => {
popoverWidth={popoverWidth}
popoverTestId={popoverTestId}
anchorPosition="downRight"
repositionToCrossAxis={false}
onClose={onPopoverClose}
onCloseOverflowButton={onCloseOverflowButton}
/>
Expand All @@ -195,6 +196,7 @@ export const AppMenuActionButton = (props: AppMenuActionButtonProps) => {
popoverWidth={popoverWidth}
popoverTestId={popoverTestId}
anchorPosition="downRight"
repositionToCrossAxis={false}
onClose={onPopoverClose}
onCloseOverflowButton={onCloseOverflowButton}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ interface AppMenuContextMenuProps {
switchConfig?: AppMenuSwitch;
popoverTestId?: string;
anchorPosition?: PopoverAnchorPosition;
repositionToCrossAxis?: boolean;
onClose: () => void;
onCloseOverflowButton?: () => void;
}
Expand All @@ -47,6 +48,7 @@ export const AppMenuPopover = ({
switchConfig,
popoverTestId = 'app-menu-popover',
anchorPosition = 'downLeft',
repositionToCrossAxis,
onClose,
onCloseOverflowButton,
}: AppMenuContextMenuProps) => {
Expand Down Expand Up @@ -100,6 +102,7 @@ export const AppMenuPopover = ({
hasArrow={false}
anchorPosition={anchorPosition}
aria-label={title || content}
repositionToCrossAxis={repositionToCrossAxis}
>
<EuiContextMenu initialPanelId={0} panels={panels} css={{ minWidth: 180 }} />
</EuiPopover>
Expand Down
Loading