diff --git a/ui/packages/shared/profile/src/GraphTooltip/index.tsx b/ui/packages/shared/profile/src/GraphTooltip/index.tsx index 8cf54cb92d5..9a68b366c79 100644 --- a/ui/packages/shared/profile/src/GraphTooltip/index.tsx +++ b/ui/packages/shared/profile/src/GraphTooltip/index.tsx @@ -426,6 +426,7 @@ const GraphTooltip = ({ options: { tether: false, altAxis: true, + boundary: contextElement ?? undefined, }, }, { @@ -434,6 +435,12 @@ const GraphTooltip = ({ offset: [30, 30], }, }, + { + name: 'flip', + options: { + boundary: contextElement ?? undefined, + }, + }, ], } );