vue-virtual-scroller
vue-virtual-scroller copied to clipboard
el-select v-model value echo in not normal
Describe the bug
When I use RecycleScroller in the el-select component of element, if el-select has a bound value at the beginning, then the label cannot be displayed normally when the value is echoed, which seems to be that the el-option is not fully rendered, and the label value of the initialized unloaded option item cannot be displayed. Others work normally
Reproduction
<template>
<el-select v-model="array">
<RecycleScroller :items="testdata" v-slot="{item}">
<el-option :label="item.label" :value="item.value">
</el-option>
</RecycleScroller>
</el-select>
</template>
System Info
window Chrome90
vue: 2.6.12
vite: 2.9.5
vue-virtual-scroller:1.0.4
Used Package Manager
npm
Validations
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.