Akryum / vue-virtual-scroller

⚡️ Blazing fast scrolling for any amount of data
https://vue-virtual-scroller-demo.netlify.app
9.23k stars 882 forks source link

Select the value and roll the paste #853

Open Thecodefirst opened 5 months ago

Thecodefirst commented 5 months ago

Describe the bug

Select the value and roll the paste

Reproduction

    <a-checkbox-group v-model:value="checkedListLocal" class="h-full w-full">
      <DynamicScroller :items="vsCopyLocal" :min-item-size="30" class="scroller">
        <template #default="{ item, active }">
          <DynamicScrollerItem :key="item" :active="active" :item="item" :data-index="item">
            <div class="mb-8px h-30px">
              <a-checkbox :disabled="handleSwitch(item)" :value="item">
                <a-tooltip>
                  <template #title>{{ item }}</template>
                  <span class="block truncate overflow-ellipsis" :class="[controlpopWidth]">{{
                    item
                  }}</span>
                </a-tooltip>
              </a-checkbox>
            </div>
          </DynamicScrollerItem>
        </template>
      </DynamicScroller>
    </a-checkbox-group>

System Info

vue-virtual-scroller": "2.0.0-beta.3"

Used Package Manager

yarn

Validations