vueuse / vueuse

Collection of essential Vue Composition Utilities for Vue 2 and 3

Home Page:https://vueuse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

useVirtualList is not updated immediately

Lazydd opened this issue · comments

Describe the bug

Now scroll the scroll bar to the bottom, and then click the button. The newly added data does not appear. You need to scroll the scroll bar online and then scroll down before it appears.

Reproduction

https://stackblitz.com/edit/vitejs-vite-unw2xw?file=src%2FApp.vue,package.json

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700F
    Memory: 2.03 GB / 15.79 GB
  Binaries:
    Node: 18.18.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.11.0 - ~\node_modules\.bin\pnpm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vueuse/components: ^10.9.0 => 10.9.0
    @vueuse/core: ^10.9.0 => 10.9.0
    vue: ^3.4.21 => 3.4.21

Used Package Manager

npm

Validations