diff --git a/packages/math-inline/src/main.jsx b/packages/math-inline/src/main.jsx index 6ac8347d79..ad4ed03eb1 100644 --- a/packages/math-inline/src/main.jsx +++ b/packages/math-inline/src/main.jsx @@ -643,6 +643,16 @@ export class Main extends React.Component { }} PopperProps={{ container: tooltipContainerRef?.current || undefined, + placement: 'bottom-start', + modifiers: { + preventOverflow: { + enabled: true, + boundariesElement: 'body', + }, + flip: { + enabled: true, + }, + }, }} title={Object.keys(session.answers).map( (answerId) =>