From 71985ea591c12ad74e859d7c4b606ef11bb0a480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Oberm=C3=BCller?= Date: Wed, 20 Dec 2023 09:27:08 +0100 Subject: [PATCH] fix(funnels): fix funnel label (#19419) --- frontend/src/lib/lemon-ui/Popover/Popover.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/lemon-ui/Popover/Popover.tsx b/frontend/src/lib/lemon-ui/Popover/Popover.tsx index 0541bbade9e36..fe42c89c98fa9 100644 --- a/frontend/src/lib/lemon-ui/Popover/Popover.tsx +++ b/frontend/src/lib/lemon-ui/Popover/Popover.tsx @@ -138,7 +138,11 @@ export const Popover = React.forwardRef(function P }) const [floatingElement, setFloatingElement] = useState(null) - const mergedReferenceRef = useMergeRefs([referenceRef, extraReferenceRef || null]) as React.RefCallback + const mergedReferenceRef = useMergeRefs([ + referenceRef, + extraReferenceRef || null, + (children as any)?.ref, + ]) as React.RefCallback const arrowStyle = middlewareData.arrow ? {