primitives icon indicating copy to clipboard operation
primitives copied to clipboard

Tooltip component, is re-rendering too many times (bad performance)

Open GhostvOne opened this issue 7 months ago • 0 comments

Bug report

Current Behavior

Tooltip is re-rendering like 10x times on every mouse hover or on mouse out

Expected behavior

1 time on hover, and 1 time on mouse out

Additional context

As you can see, all of my tooltip components are rendered 13 times on just one hover

Image

Your environment

Software Name(s) Version
Radix Package(s) react-tooltip 1.2.7
React n/a 19.1.0

GhostvOne avatar Jun 14 '25 06:06 GhostvOne