primevue
primevue copied to clipboard
VirtualScroller: autoSize property does not work
Describe the bug
The problem occurs in components where you can specify a virtual scroller by props (select, multiselect, autocomplete)
The autoSize property does not work, the height of the list will always be equal to scrollHeight, but should be adjusted to the number of elements
The same bug was in the old version https://github.com/primefaces/primevue/issues/5373
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-a7d4un?file=src%2FApp.vue
PrimeVue version
4.0.5
Vue version
4.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
- specify props virtualScrollerOptions with autoSize: true
- try entering a value in the search to reduce the number of items in the visible list
Expected behavior
No response