add tippyoptions for reference

This commit is contained in:
Philipinho
2025-08-18 13:45:41 -07:00
parent bf17289ab2
commit a0814ef49a
6 changed files with 71 additions and 4 deletions
@@ -95,6 +95,33 @@ export const TableMenu = React.memo(
offset: 15,
//zIndex: 99,
}}
//tippyOptions={{
// getReferenceClientRect: getReferenceClientRect,
// offset: [0, 15],
// zIndex: 99,
// popperOptions: {
// modifiers: [
// {
// name: "preventOverflow",
// enabled: true,
// options: {
// altAxis: true,
// boundary: "clippingParents",
// padding: 8,
// },
// },
// {
// name: "flip",
// enabled: true,
// options: {
// boundary: editor.options.element,
// fallbackPlacements: ["top", "bottom"],
// padding: { top: 35, left: 8, right: 8, bottom: -Infinity },
// },
// },
// ],
// },
// }}
shouldShow={shouldShow}
>
<ActionIcon.Group>