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 27ae4e1 commit f4b24bcCopy full SHA for f4b24bc
src/vue/components/list.vue
@@ -228,7 +228,7 @@ export default {
228
const { list: slotsList, default: slotsDefault } = slots;
229
const rootChildrenBeforeList = [];
230
const rootChildrenAfterList = [];
231
- const ulChildren = slotsList || [];
+ const ulChildren = slotsList && typeof slotsList === 'function' ? [slotsList()] : [];
232
let wasUlChild = false;
233
if (slotsDefault) {
234
slotsDefault().forEach((vnode) => {
0 commit comments