Skip to content

Commit 4d4a389

Browse files
committed
fix(math-inline): enhance keypad visibility by setting Popper boundariesElement to body, adjusting placement to bottom-start, and enabling flip PD-2452
1 parent d49ffc8 commit 4d4a389

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/math-inline/src/main.jsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,16 @@ export class Main extends React.Component {
643643
}}
644644
PopperProps={{
645645
container: tooltipContainerRef?.current || undefined,
646+
placement: 'bottom-start',
647+
modifiers: {
648+
preventOverflow: {
649+
enabled: true,
650+
boundariesElement: 'body',
651+
},
652+
flip: {
653+
enabled: true,
654+
},
655+
},
646656
}}
647657
title={Object.keys(session.answers).map(
648658
(answerId) =>

0 commit comments

Comments
 (0)