diff --git a/src/components/Tooltip/index.tsx b/src/components/Tooltip/index.tsx index acabffc267..4f89950527 100644 --- a/src/components/Tooltip/index.tsx +++ b/src/components/Tooltip/index.tsx @@ -425,9 +425,10 @@ function Bubble({ }, ]} onLayout={e => { - setBubbleMeasurements({ - width: e.nativeEvent.layout.width, - height: e.nativeEvent.layout.height, + const {width, height} = e.nativeEvent.layout + setBubbleMeasurements(prev => { + if (prev?.width === width && prev.height === height) return prev + return {width, height} }) }}> {children}