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 c269800 commit 0017cafCopy full SHA for 0017caf
packages/runtime-core/src/components/BaseTransition.ts
@@ -136,8 +136,8 @@ const BaseTransitionImpl = {
136
const state = useTransitionState()
137
138
return () => {
139
- const children = getTransitionRawChildren(
140
- slots.default ? slots.default() : [],
+ const children = slots.default && getTransitionRawChildren(
+ slots.default(),
141
true
142
)
143
if (!children || !children.length) {
0 commit comments