primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Multiselect: Virtualscroll AutoSize error

Open svaldivia12 opened this issue 1 year ago • 3 comments

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: 2024-01-29, 09-37-32  Screenshot 2024-01-29, 09-38-39  Screenshot

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

  1. Open the example
  2. Filter options, for example putting "100"
  3. Check that the panel is correctly auto-sizing
  4. Put the mouse over an option
  5. The panel will be reverted to the fixed size (error)

Expected behavior

To keep the auto-size feature of the panel all the time

svaldivia12 avatar Jan 29 '24 12:01 svaldivia12

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.

mertsincan avatar Jan 30 '24 09:01 mertsincan

We need more time to investigate this issue. I am setting a new milestone.

Thank you.

tugcekucukoglu avatar Feb 23 '24 14:02 tugcekucukoglu