Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's undocumented whether tippies should be destroyed when no longer needed #1144

Open
x-yuri opened this issue Nov 20, 2023 · 0 comments
Open

Comments

@x-yuri
Copy link

x-yuri commented Nov 20, 2023

Bug description

Let's say you added a tippy to an element, but then you destroyed the latter (e.g. el.parentNode.innerHTML = ''). Should the tippy be destroyed manually as well (el._tippy.destroy())? If so, I think it's important to mention it in the docs since I'd expect that many will not do any clean up. If it isn't so, I think it's also important to mention it to appease the paranoid types :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant