Akryum / Akryum/vue-virtual-scroller

Dynamic scroller not handling correct position

オープン
#791 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
10.8k
フォーク
973
PR マージ指標
30日以内にマージされた PR はありません

説明

### Describe the bug

elements are shown and overlap other items

### Reproduction

```js









export default {
computed: {
chatMsgList() {
let list = this.$store.state.chat.chatMsgList;
if (list.length > 200) {
const num = list.length - 200;
list.splice(0, num);
}
list = list.map((item, index) => {
return {
id: index++,
content: item
};
});
return list;
}
}
}

```

### System Info

```shell
"vue": "^2.5.17",
"vue-virtual-scroller": "^1.1.2",
```

### 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 を短くまとめたダイジェスト。