Akryum / Akryum/vue-virtual-scroller
Keep scroll position when adding items at the top
- Lenguaje dominante
- TypeScript
- Estrellas
- 10.8k
- Forks
- 973
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Is it possible to keep the scroll position when adding a row at the top of the virtual scroller? I believe this should be default behavior. I've tried calculating the scroll position difference and set it but this results in buggy behavior.
Example: [Codesandbox](https://codesandbox.io/s/vue-virtual-scroller-scroll-position-problem-l3kgci?file=/src/components/Default.vue)
In the examples folder there is an [example](https://akryum.github.io/vue-virtual-scroller/#/chat) just like this but it always scrolls down when adding content which is not viable to my use-case.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.