Skip to content

Commit 86e9543

Browse files
committed
fix: ensure spread attribute events are attached synchronously
1 parent 085cfc1 commit 86e9543

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/svelte/src/internal/client/dom/elements/attributes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ import { create_event, delegate } from './events.js';
55
import { add_form_reset_listener, autofocus } from './misc.js';
66
import * as w from '../../warnings.js';
77
import { LOADING_ATTR_SYMBOL } from '../../constants.js';
8-
import { queue_idle_task, queue_micro_task } from '../task.js';
8+
import { queue_idle_task } from '../task.js';
99
import { is_capture_event, is_delegated, normalize_attribute } from '../../../../utils.js';
1010
import {
1111
active_effect,
1212
active_reaction,
1313
set_active_effect,
1414
set_active_reaction
1515
} from '../../runtime.js';
16-
import { destroy_effect, effect } from '../../reactivity/effects.js';
1716

1817
/**
1918
* The value/checked attribute in the template actually corresponds to the defaultValue property, so we need

0 commit comments

Comments
 (0)