Closed abeidabdou closed 3 months ago
The initial transition doesn't play unless you manually mount the component with the intro: true
option.
You can trigger the transition using, e.g.,
let logoText = '';
onMount(() => {
logoText = 'PlanIt';
});
The initial transition doesn't play unless you manually mount the component with the
intro: true
option. You can trigger the transition using, e.g.,let logoText = ''; onMount(() => { logoText = 'PlanIt'; });
Thanks, spend a whole night just because I didn't mount a component.
Describe the bug
I don't if it's because I am new to this, but I have been trying to use a fade in transition in my code for hours and nothing is working. So I tested with others transition like slide but still. I also isolated the element from any css to make sure that the problem doesn't come from there but still nothing is working. And nothing is printed to the console, no error, nothing I can work with.
Reproduction
My code
Svelte@latest running on a docker container node:20.15.0
And every package seem to be installed correctly, thought I got the following when npm install was done, but I don't think it's related. Also can someone explain me how I can solve this, do I need to run an update on rimraf since the other two are directly under it:
Logs
No response
System Info
Severity
annoyance