Akryum / Akryum/vue-virtual-scroller

Variable list height

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

描述

Hi,

I looked through all of the documentation and all existing issues, but wasn't able to find information about this. I have a list of items where I'd like to use DynamicScroller, and in general it works well, but that list itself has a variable height (100% of the parent element) and I haven't been able to get vue-virtual-scroller to work with that. If I use page-mode, it seems to work, but looking at the DOM it renders an amount of elements to fill the whole viewport instead of just the height of the list which does not work for me. If I use `height: 100%` on the DynamicScroller, all items in the list are rendered.

Is there any way to make this work?

Thanks a lot!

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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