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 82afc7f commit 5589b66Copy full SHA for 5589b66
packages/xl-ai/src/components/AIMenu/AIMenuController.tsx
@@ -5,7 +5,7 @@ import {
5
useExtension,
6
useExtensionState,
7
} from "@blocknote/react";
8
-import { autoUpdate, offset, size } from "@floating-ui/react";
+import { autoUpdate, flip, offset, size } from "@floating-ui/react";
9
import { FC, useMemo } from "react";
10
11
import { AIExtension } from "../../AIExtension.js";
@@ -33,7 +33,7 @@ export const AIMenuController = (props: {
33
placement: "bottom",
34
middleware: [
35
offset(10),
36
- // flip(),
+ flip(),
37
size({
38
apply({ rects, elements }) {
39
Object.assign(elements.floating.style, {
0 commit comments