Akryum / vue-virtual-scroller

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

No items are shown - height is 0px after latest update #757

Closed CharlesOkwuagwu closed 2 years ago

CharlesOkwuagwu commented 2 years ago

Describe the bug

After this last update, the component renders as 0px height so no items are shown.

Same settings worked fine before this update

image

Reproduction

NIL

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    Memory: 14.62 GB / 31.83 GB
  Binaries:
    Node: 18.4.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.42)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

pnpm

Validations

Akryum commented 2 years ago

Please provide a runnable reproduction thanks.

kouts commented 2 years ago

Hello @Akryum, first of all, thank you for this wonderful lib. Here is a CodeSandbox with the same example in v1.0.10 and v.1.1.0 v1.0.10 - https://codesandbox.io/s/vue-tailwind-list-1-0-10-28tz90?file=/src/main.js v1.1.0 - https://codesandbox.io/s/vue-tailwind-list-1-1-0-skezhr

nipunTharuksha commented 2 years ago

Confirming the same issue with beta. We rolled back to the alpha version.

CharlesOkwuagwu commented 2 years ago

Confirming the same issue with beta. We rolled back to the alpha version.

This was on vue3 yes?

nipunTharuksha commented 2 years ago

Yes. Vue3. Our build was taking the latest release. Spent hours to find the issue. As soon as we saw your issue just reverted to alpha. Things working now.

Akryum commented 2 years ago

Should work now in 1.1.1 (Vue 2) and 2.0.0-beta.2 (Vue 3).

kouts commented 2 years ago

Confirming that it works with 1.1.1, thanks @Akryum.