Akryum / Akryum/vue-virtual-scroller

scrollToItem() not scrolling to correct place with dynamic scroller when item heights are dynamic and different than defined with min-item-size

Aberta
#696 14 comentários 7 reações 0 responsáveis Ver no GitHub
bug duplicate
Linguagem predominante
TypeScript
Estrelas
10.8k
Forks
973
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

It appears that scrollToItem() will not directly scroll to the item if the items are not exactly the same height as defined in the prop `min-item-size`. See code example below:

https://codesandbox.io/s/silly-greider-j0p8e?file=/src/components/HelloWorld.vue

It will scroll within a few 100 pixels of the actual item but never the actual item unless all items are the same height as what is defined in `min-item-size`.

Does anyone know what I am doing wrong?

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.