Closed lukasIO closed 3 years ago
Hi @lukasIO! Can you share some example on https://svelte.dev/repl?
Hi @romkor,
should have specified the scenario a bit, sorry. It happens for me when using sapper and the portal target is part of a _layout route while the portal is being called from a "regular" component.
I'll see if I can spin up a minimal repro repo.
Please create issue with detailed description what is broken. And create reproducible example on https://svelte.dev/repl. I will close this pull request.
Hi,
for me the content of the portal never got actually removed because the parent was always undefined. This approach seems to fix it.