Skip to content

Commit 8cb0b83

Browse files
authored
fix(renderSlot): set slot render as a STABLE_FRAGMENT (#776)
fix #766
1 parent 4a5b91b commit 8cb0b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/helpers/renderSlot.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function renderSlot(
3535
Fragment,
3636
{ key: props.key },
3737
slot ? slot(props) : fallback || [],
38-
slots._ ? 0 : PatchFlags.BAIL
38+
slots._ ? PatchFlags.STABLE_FRAGMENT : PatchFlags.BAIL
3939
)
4040
)
4141
}

0 commit comments

Comments
 (0)