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 e3315db commit 26eeb50Copy full SHA for 26eeb50
packages/react/src/components/Popovers/GenericPopover.tsx
@@ -35,6 +35,10 @@ export const GenericPopover = (
35
36
const dismiss = useDismiss(context, props.useDismissProps);
37
const hover = useHover(context, { enabled: false, ...props.useHoverProps });
38
+ // Also returns `getReferenceProps` but unused as the reference element may
39
+ // not even be managed by React, so we may be unable to set them. Seems like
40
+ // `refs.setReferences` attaches most of the same listeners anyway, but
41
+ // possible both are needed.
42
const { getFloatingProps } = useInteractions([dismiss, hover]);
43
44
const innerHTML = useRef<string>("");
0 commit comments