Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

fix(Tooltip.svelte): don't destroy tip node, let svelte do it #268

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dablach
Copy link

@dablach dablach commented Jan 24, 2022

When destroying a Tooltip, the tooltip node was removed twice: once by svelte and once by the component.

This pull requests removes the removeChild call in the component and adds a test, that checks if the Tooltip component can be destroyed without an error and the tooltip node gets removed correctly.

@vercel
Copy link

vercel bot commented Jan 24, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/thecomputerm/svelte-materialify/9ZrQCqm2zkK8cqrCRFyZaDxaRASh
✅ Preview: https://svelte-materialify-git-fork-dablach-master-thecomputerm.vercel.app

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

Successfully merging this pull request may close these issues.

None yet

1 participant