From 62eeeab683e6036be5114468fed0df41b11b0812 Mon Sep 17 00:00:00 2001 From: Tobias Barsnes Date: Fri, 13 Oct 2023 14:05:33 +0200 Subject: [PATCH] chore: Conditional render on `FloatingPortal`in `Tooltip` (#934) --- packages/react/src/components/Tooltip/Tooltip.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react/src/components/Tooltip/Tooltip.tsx b/packages/react/src/components/Tooltip/Tooltip.tsx index c765dbc097..2185ed3f89 100644 --- a/packages/react/src/components/Tooltip/Tooltip.tsx +++ b/packages/react/src/components/Tooltip/Tooltip.tsx @@ -126,8 +126,8 @@ export const Tooltip = forwardRef( ref: childMergedRef, }), )} - - {internalOpen && ( + {internalOpen && ( + <>
( />
- )} -
+
+ )} ); },