-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
Setting muted={muted} on <audio> in Svelte 5.20 does not update the property when muted changes, but bind:muted={muted} works as expected. But it worked in Svelte 4.
Expected behavior: clicking the button should toggle the muted property on the audio as it did in Svelte 4
Actual behavior: muted does not update unless using bind:muted={muted}
Reproduction
Logs
System Info
System:
OS: macOS 15.2
CPU: (8) arm64 Apple M1 Pro
Memory: 241.31 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.3.0 - /opt/homebrew/bin/node
npm: 10.9.0 - /opt/homebrew/bin/npm
pnpm: 10.3.0 - ~/Library/pnpm/pnpm
bun: 1.1.21 - ~/.bun/bin/bun
Browsers:
Safari: 18.2
Chrome Version 132.0.6834.160 (Official Build) (arm64)Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels