🐛 BUG: Bugs with Svelte - Loses reactivity inside a component affected by JavaScript, slots not behaving correctly. #2456
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
What version of
astro
are you using?0.22.18
What package manager are you using?
npm
What operating system are you using?
Windows
Describe the Bug
Firstly, Reactivity isn't working inside the
CounterWrapper
becauseCounterWrapper
is using JavaScript. For my project I have a few Svelte components that are used for animation such as aFadeUp.svelte
in the example providedCounterWrapper.svelte
is just that.Secondly, there seems to be an issue around slots. I'm trying to create an accordion but if the accordion is closed the slot remains empty.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-utalnd?file=src/pages/index.astro
The text was updated successfully, but these errors were encountered: