primevue
primevue copied to clipboard
Multiselect: Virtualscroll AutoSize error
Describe the bug
Hello, I've a problem with the Multiselect component using the virtualscroller. It has by default a fixed size, and you can auto adjust it by adding the autoSize property. It works fine, until you put the mouse over an option, then it reverts to the fixed size. Is there a way to keep the autoSize feature all the time enabled?
Example photos:
Reproducer
https://stackblitz.com/edit/primevue-multiselect-virtualscroller?file=app.vue
PrimeVue version
3.47.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
Firefox Developer 123.0b2 (64-bit)
Steps to reproduce the behavior
- Open the example
- Filter options, for example putting "100"
- Check that the panel is correctly auto-sizing
- Put the mouse over an option
- The panel will be reverted to the fixed size (error)
Expected behavior
To keep the auto-size feature of the panel all the time
Interesting! Maybe this is related to our latest enhancement. I'll check it. For now, I set a milestone for it. I'll review it before the milestone is released.
We need more time to investigate this issue. I am setting a new milestone.
Thank you.