We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is possibly related to #849.
When using a default slot, you have to either wrap conditionals with other tags or have them be the only content inside the component.
This fails: https://svelte.technology/repl?version=1.39.2&gist=f30b005debb0daa771e7c612622c1344
But this works: https://svelte.technology/repl?version=1.39.2&gist=91607f88a95c234ba4bd9cde6947531a
And so does this: https://svelte.technology/repl?version=1.39.2&gist=0dd35c3da30ef0687d6e553b47537e2e
The text was updated successfully, but these errors were encountered:
failing test for #850
40df1c6
use anchor.parentNode as target instead of slot document fragment - f…
0a0f474
…ixes #850
Merge pull request #851 from sveltejs/gh-850
1446338
use anchor.parentNode as target instead of slot document fragment
Thanks — fixed in 1.39.3
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This is possibly related to #849.
When using a default slot, you have to either wrap conditionals with other tags or have them be the only content inside the component.
This fails:
https://svelte.technology/repl?version=1.39.2&gist=f30b005debb0daa771e7c612622c1344
But this works:
https://svelte.technology/repl?version=1.39.2&gist=91607f88a95c234ba4bd9cde6947531a
And so does this:
https://svelte.technology/repl?version=1.39.2&gist=0dd35c3da30ef0687d6e553b47537e2e
The text was updated successfully, but these errors were encountered: