Skip to content

[BUG] Children are not cleaned from memory #1242

@kamil-sienkiewicz-asi

Description

@kamil-sienkiewicz-asi

Bug description
When tooltip is rendered with react children, it's not cleaning up rendered children and they remain in the memory

Version of Package
v5.28.0

To Reproduce
https://react-tooltip.com/docs/examples/children

Hover over example and see DOM nodes in dev tools rising

Expected behavior
Children is correctly cleaned up

Screenshots

Kapture.2025-02-28.at.17.36.14.webm

Desktop

  • OS: mac
  • Browser: chrome
  • Version: 133.0.6943.142

Metadata

Metadata

Assignees

Labels

BugHelp WantedStaleThis has not seen activity in quite some time

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions