diff --git a/packages/features/data-table/components/DataTableSelectionBar.tsx b/packages/features/data-table/components/DataTableSelectionBar.tsx index fb25fea261..4f0c530b93 100644 --- a/packages/features/data-table/components/DataTableSelectionBar.tsx +++ b/packages/features/data-table/components/DataTableSelectionBar.tsx @@ -2,6 +2,7 @@ import type { Table } from "@tanstack/react-table"; import { forwardRef } from "react"; +import { createPortal } from "react-dom"; import { classNames } from "@calcom/lib"; import { Button, Icon } from "@calcom/ui"; @@ -47,17 +48,18 @@ const Root = forwardRef< React.HTMLAttributes & { showSelectionCount?: boolean } >(({ children, ...props }, ref) => { const { className, style, ...rest } = props; - return ( + return createPortal(
{children} -
+ , + document.body ); });