We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e52b534 commit 6d40878Copy full SHA for 6d40878
packages/svelte/src/internal/client/dom/elements/attributes.js
@@ -378,6 +378,7 @@ export function set_attributes(
378
element[`__${event_name}`] = undefined;
379
}
380
} else if (key === 'style') {
381
+ // avoid using the setter
382
set_attribute(element, key, value);
383
} else if (key === 'autofocus') {
384
autofocus(/** @type {HTMLElement} */ (element), Boolean(value));
0 commit comments