-
Notifications
You must be signed in to change notification settings - Fork 43
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
Nested components transition bug #29
Comments
Thanks; I will take a look later today and update this comment. |
It seems that problem is in duplicating parts of svelte in resulting bundle. There are two functions |
Ok, I understood the reason of usage custom css rules. Here is PR - #31 |
@kroshilin thanks for the PR and sorry it took so long to get it; now merged.
Style blocks with the |
It seems it is resolved. closing this issue. |
Found some strange behaviour, most probably this is a bug. Not sure how to explain it correctly, so will better provide an example. Here is link to repository - https://github.com/kroshilin/svelma-transition-bug
Press "Toggle" button on web page and try to close modal window. Modal is not closed, and there is an error in console.
It seems that bug takes place when I try to place one components inside other and then remove parent component from DOM.
Deeper investigation led me to svelma/dist/index.js:420
This code seems to be generated by svelte. If i add
if (outros)
- it fixes the issue.The text was updated successfully, but these errors were encountered: