Closed
Description
I’m using this component with a list that can be filtered. It is possible that the filtered list returns an array of zero items which results in:
[Vue warn]: Error when rendering component <vue-virtual-scroll-list>
TypeError: undefined is not an object (evaluating 'slots.length')
I guess, we can’t assume that slots are always available as you try here:
https://github.com/tangbc/vue-virtual-scroll-list/blob/master/index.js#L108