File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/svelte/src/compiler/phases/3-transform/client/visitors Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,9 @@ export function RegularElement(node, context) {
211
211
node ,
212
212
node_id ,
213
213
// If value binding exists, that one takes care of calling $.init_select
214
- value_binding === null && node . name === 'select'
214
+ value_binding === null && node . name === 'select' ,
215
+ class_directives . some ( ( cd ) => cd . metadata . expression . has_call ) ||
216
+ style_directives . some ( ( sd ) => sd . metadata . expression . has_call )
215
217
) ;
216
218
is_attributes_reactive = true ;
217
219
} else {
@@ -447,10 +449,9 @@ function build_element_spread_attributes(
447
449
context ,
448
450
element ,
449
451
element_id ,
450
- needs_select_handling
452
+ needs_select_handling ,
453
+ needs_isolation = false
451
454
) {
452
- let needs_isolation = false ;
453
-
454
455
/** @type {ObjectExpression['properties'] } */
455
456
const values = [ ] ;
456
457
You can’t perform that action at this time.
0 commit comments