-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
if blocks inside slotted content need wrapping with another element #826
Comments
in dev mode you get this warning:
where |
This is fixed in 1.39.1 — thanks! |
So I did an I understand the REPL has v1.34.0, maybe when the REPL is updated I can check again. EDIT: well, the warning in the console is gone, but it still behaves exactly as it does on the current REPL |
Just update the https://svelte.technology/repl?version=1.39.1&gist=5e64b44fa6b8eb3b13f83c5c1820e8ef |
https://svelte.technology/repl?version=1.34.0&gist=5e64b44fa6b8eb3b13f83c5c1820e8ef
if you wrap the
if
block with adiv
, it works as expected.Don't know how much of an overlap this is with #822
Please feel free to close if it's a duplicate
The text was updated successfully, but these errors were encountered: