We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd547d commit d34e17fCopy full SHA for d34e17f
packages/text-annotator-react/src/TextAnnotatorPopup.tsx
@@ -5,6 +5,7 @@ import {
5
autoUpdate,
6
inline,
7
offset,
8
+ flip,
9
shift,
10
useDismiss,
11
useFloating,
@@ -46,6 +47,7 @@ export const TextAnnotatorPopup = (props: TextAnnotationPopupProps) => {
46
47
middleware: [
48
offset(10),
49
inline(),
50
+ flip(),
51
shift({ mainAxis: false, crossAxis: true, padding: 10 })
52
],
53
whileElementsMounted: autoUpdate
0 commit comments