Akryum / vue-virtual-scroller

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

Bug with missing attribute of an inner element of items #797

Open tomganchos opened 1 year ago

tomganchos commented 1 year ago

Describe the bug

When scrolling horizontally, the scrollLeft attribute is added to the inner elements of all elements, but when scrolling vertically, scrollLeft randomly disappears

Bug is reproduced on both version 1.1.2 and 2.0.0-beta.8

Reproduction

I made a project with the reproduction of the bug: https://github.com/tomganchos/vvs-bug and also made a demo http://kriuchkov.art/vue-virtual-scroller/

System Info

Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 111.0.5563.110
    Edge: Spartan (44.22621.1413.0), Chromium (111.0.1661.51)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.1.0
    vite: ^4.1.4 => 4.2.0
    vue: ^3.2.47 => 3.2.47
    vue-virtual-scroller: ^2.0.0-beta.8 => 2.0.0-beta.8

Used Package Manager

npm

Validations