fix: React 18 element.ref was accessed error (#9208)

Bump @radix-ui/react-popover to fix element.ref React 19 error

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Márk Tolmács
2025-03-02 14:24:50 +01:00
committed by GitHub
parent 68578556ff
commit 2523624f15
3 changed files with 210 additions and 8 deletions

View File

@@ -14,8 +14,8 @@ interface PropertiesPopoverProps {
onClose: () => void;
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;
onPointerLeave?: React.PointerEventHandler<HTMLDivElement>;
onFocusOutside?: Popover.DismissableLayerProps["onFocusOutside"];
onPointerDownOutside?: Popover.DismissableLayerProps["onPointerDownOutside"];
onFocusOutside?: Popover.PopoverContentProps["onFocusOutside"];
onPointerDownOutside?: Popover.PopoverContentProps["onPointerDownOutside"];
}
export const PropertiesPopover = React.forwardRef<