Akryum / Akryum/vue-virtual-scroller

Bug with missing attribute of an inner element of items

未關閉
#797 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
10.8k
分支
973
PR 合併指標
30 天內沒有已合併 PR

描述

### 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](https://github.com/tomganchos/vvs-bug)
and also made a demo
[http://kriuchkov.art/vue-virtual-scroller/](http://kriuchkov.art/vue-virtual-scroller/)

### System Info

```shell
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

- [X] Read the [docs](https://github.com/Akryum/vue-virtual-scroller/blob/master/packages/vue-virtual-scroller/README.md).
- [X] Check that there isn't [already an issue](https://github.com/Akryum/vue-virtual-scroller/issues) 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](https://github.com/Akryum/vue-virtual-scroller/discussions).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。