Akryum / Akryum/vue-virtual-scroller

Items with images bounce when scrolling in DynamicScroller

未关闭
#776 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
feature-request
主要语言
TypeScript
星标
10.8k
派生
973
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the bug

I have items, some with pictures, some without. When I scroll to the end of the list and then scroll to the top, I see bouncing items. It doesn't always happen, but often.

### Reproduction

https://codesandbox.io/s/twilight-worker-blx0ej
vue: 3.2.45
vue-virtual-scroller: 2.0.0-beta.7

Reproduced with:
2.0.0-beta.5, 2.0.0-beta.6, 2.0.0-beta.7

I am currently using 2.0.0-beta.4 and everything is fine with this version.

Video of issue:
https://user-images.githubusercontent.com/85647729/207878030-a6e62cff-9f7b-48bb-a24e-da17d684b5b8.mov

### System Info

```shell
System:
OS: macOS 12.2.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 33.79 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.20.0 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 6.14.17 - /usr/local/bin/npm
Browsers:
Chrome: 108.0.5359.98
Firefox: 107.0
Safari: 15.3
npmPackages:
vue: ^2.6.14 => 2.6.14
vue-virtual-scroller: 2.0.0-beta.5 => 1.0.10
```

### Used Package Manager

yarn

### 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 摘要。