fix: set volume through DOM property (#12485)

Already works when using spread attributes, but not when setting it on its own
fixes #12029
pull/12487/head
Simon H 4 months ago committed by GitHub
parent 35ab21df93
commit 48c5503b53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"svelte": patch
---
fix: set `volume` through DOM property rather than attribute

@ -4,6 +4,7 @@ export const DOMProperties = [
...Object.values(AttributeAliases),
'value',
'inert',
'volume',
...DOMBooleanAttributes
];

Loading…
Cancel
Save