Skip to content
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

We lost anchor for add new block if {#if} clause first in element. #1778

Closed
stalkerg opened this issue Oct 18, 2018 · 3 comments
Closed

We lost anchor for add new block if {#if} clause first in element. #1778

stalkerg opened this issue Oct 18, 2018 · 3 comments
Labels

Comments

@stalkerg
Copy link
Contributor

I suppose it's a very serious bug.
https://svelte.technology/repl?version=2.14.0&gist=9e3d812ae74a6aa9b83923c7402a4977

at least now I found a workaround, I can add an empty before {#if}.

@jacwright
Copy link
Contributor

jacwright commented Oct 18, 2018

I'm seeing it in 2.13.5 BTW, so it happened at least there or before. No, I've got a different problem in 2.13.5 and 2.14.0. #1780

@stalkerg
Copy link
Contributor Author

I was trying to fix it by myself. In IfBlock rendering we have no this.next link but it exists on creating Fragments step.

@stalkerg
Copy link
Contributor Author

yep, I found why and it's **** I will make PR.

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

No branches or pull requests

3 participants