Akryum / Akryum/vue-virtual-scroller

Initialize scroller with correct height on SSR

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

説明

### Clear and concise description of the problem

When using SSR, the scroll container does not have the correct height for the number of elements applied until hydration.

### Suggested solution

the scroll divs should have the correct height for the given number of items rather than only containing the pre-rendered elements then expanding on hydration

### Alternative

_No response_

### Additional context

_No response_

### 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。