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
Svelte 3.31.0
Describe the bug We have InnerComponent:
<slot name="a">A fallback</slot> <slot name="b">B fallback</slot> <slot>Default fallback</slot>
Also we have MyComponent:
<InnerComponent> <slot name="a" slot="a"/> <slot name="b" slot="b"/> </InnerComponent>
Then we use it like this:
<MyComponent> <div slot="a">Some content</div> </MyComponent>
And in the InnerComponent we see that the fallback content of slots b and default doesn't render. Also in the InnerComponent's script:
console.log($$slots);
// { a: true, b: true, default: true }
To Reproduce Repl
Severity Annoying. Blocks proper use of slot forwarding for me.
The text was updated successfully, but these errors were encountered:
This is fixed in 3.35.0
Sorry, something went wrong.
Much thanks! :)
but slot="b" fallback still empty...
@tanhauhau Not work, plz reopen it #5604
https://svelte.dev/repl/ea168e49b84f46e0ba72391c1f7fb6b2?version=3.38.0
No branches or pull requests
Svelte 3.31.0
Describe the bug
We have InnerComponent:
Also we have MyComponent:
Then we use it like this:
And in the InnerComponent we see that the fallback content of slots b and default doesn't render.
Also in the InnerComponent's script:
// { a: true, b: true, default: true }
To Reproduce
Repl
Severity
Annoying. Blocks proper use of slot forwarding for me.
The text was updated successfully, but these errors were encountered: