Open elalienx opened 5 years ago
I can't reproduce. Please provide a runnable minimal reproduction.
Hi, tanks for the quick reply. I have created a small demo on this repository: https://github.com/elalienx/vvs-135
Both list use the exact code and html template the only difference is the array passed.
Hi I have a simple array that is a long list of numbers. They all start by default at zero. But the scroller don't render any item with value zero. As soon I put any other number they appear.
Code example that works:
<RecycleScroller class="scroller" :items="headers" :item-size="32">
<template v-slot="{ item }">
<div class="user">{{ item }}</div>
</template>
</RecycleScroller>
'data() { return { headers: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] } }'
Code example that does not work: (template is exactly the same)
'data() { return { headers: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] } }'