Skip to content

Commit

Permalink
fix(layout): find children inside suspense boundary
Browse files Browse the repository at this point in the history
fixes #19830
  • Loading branch information
KaelWD committed May 21, 2024
1 parent 88badc6 commit c209d09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vuetify/src/util/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ export function findChildrenWithProvide (

if (Array.isArray(vnode)) {
return vnode.map(child => findChildrenWithProvide(key, child)).flat(1)
} else if (vnode.suspense) {
return findChildrenWithProvide(key, vnode.ssContent!)
} else if (Array.isArray(vnode.children)) {
return vnode.children.map(child => findChildrenWithProvide(key, child)).flat(1)
} else if (vnode.component) {
Expand Down

0 comments on commit c209d09

Please # to comment.