Fix bubble menu positioning when scrolling

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-26 15:19:16 +04:00
parent 62d13a1539
commit f3b0842206
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ const extensions = [
];
const richEditorVariants = tv({
base: ["h-full pl-14"],
base: ["relative h-full pl-14"],
});
type RichEditorProps = ComponentProps<"div"> & {

View File

@@ -49,7 +49,7 @@ export function TableCellMenuTrigger({
} = useFloating({
strategy: "fixed",
placement: "right",
middleware: [offset(-10)],
middleware: [offset(-11)],
whileElementsMounted: (ref, floating, update) =>
autoUpdate(ref, floating, update, { animationFrame: true }),
});