Skip to content

Commit

Permalink
fix(vue): fix deep slots
Browse files Browse the repository at this point in the history
fixes #6574
  • Loading branch information
nolimits4web committed Apr 14, 2023
1 parent 7c1c5d3 commit 642b455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vue/get-children.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getChildren(originalSlots = {}, slidesRef, oldSlidesRef) {
const isFragment = typeof vnode.type === 'symbol';
if (slotName === 'default') slotName = 'container-end';
if (isFragment && vnode.children) {
getSlidesFromElements(vnode.children, 'default');
getSlidesFromElements(vnode.children, slotName);
} else if (
vnode.type &&
(vnode.type.name === 'SwiperSlide' || vnode.type.name === 'AsyncComponentWrapper')
Expand Down

0 comments on commit 642b455

Please sign in to comment.