Closed
Description
Bug description
Odd one but, when svg elements are added/removed, the existing svg element's tooltips stop working.
Version of Package
v5.21.6
To Reproduce
Reproduction: https://codesandbox.io/s/ecstatic-torvalds-vmy6qm?file=/src/index.tsx
Click the "show" button then hover over the black box, you'll note that the tooltip stops showing up.
There are ways to reproduce it outside svgs but they'll require unconventional code, SVG is the most straightforward way to demo this.
Expected behavior
Tooltip should still show up on the existing svg elements.
Screenshots
See code sandbox reproduction
Thanks!