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

Svelte 5.1.5 actions are not triggered when a snippet is declared inside the node #14071

Closed
PierBover opened this issue Oct 31, 2024 · 1 comment · Fixed by #14074
Closed

Comments

@PierBover
Copy link

Describe the bug

If a snippet is declared inside a node with an action, this action will not be triggered when the node is added to the DOM.

This bug was introduced in 5.1.5. Our app uses a couple of custom actions and everything works as expected up to 5.1.4.

Reproduction

https://svelte.dev/playground/1192da14055c4d5e87703a849e77d38b?version=5.1.6

Logs

No response

System Info

System:
    OS: macOS 13.6.7
    CPU: (12) arm64 Apple M2 Pro
    Memory: 265.52 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.13.1 - /usr/local/bin/node
    npm: 10.5.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 130.0.6723.70
    Chrome Canary: 132.0.6809.0
    Safari: 17.5
  npmPackages:
    svelte: ^5.1.5 => 5.1.5

Severity

blocking all usage of svelte

@PierBover
Copy link
Author

Thanks @trueadm and @dummdidumm !

Just installed 5.1.8 and confirmed it's fixed.

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

Successfully merging a pull request may close this issue.

1 participant