Akryum / Akryum/vue-virtual-scroller

Variable list height

Aberta
#346 1 comentário 1 reação 0 responsáveis Ver no GitHub
need-repro
Linguagem predominante
TypeScript
Estrelas
10.8k
Forks
973
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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!

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.