primevue icon indicating copy to clipboard operation
primevue copied to clipboard

Fix Multiselect: Menu closes on select #4861

Open MaXal opened this issue 9 months ago • 3 comments

###Defect Fixes Fix for #4861

MaXal avatar Apr 29 '24 12:04 MaXal

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2024 0:11am
primevue-v4 ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2024 0:11am

vercel[bot] avatar Apr 29 '24 12:04 vercel[bot]

Cannot replicate issue with the latest version. How can replicate the issue?

tugcekucukoglu avatar May 16 '24 10:05 tugcekucukoglu

@tugcekucukoglu Thank you for looking into the PR. The issue is still reproducible with V4: https://stackblitz.com/edit/ivkrzp?file=src%2FApp.vue

2024-05-23 11 23 28

MaXal avatar May 23 '24 09:05 MaXal

You could try to add a theme and if you prefer unstyled mode, unstyled prop should be added to the component.

tugcekucukoglu avatar Jun 10 '24 07:06 tugcekucukoglu

@tugcekucukoglu I've added the theme, and the behavior is still the same, and the fix still fixes the issue with closing dropdown.

I also tried unstyled and the behavior is the same. As you can see in the PR, the fix has nothing to do with the themes since the issue is with the isOutsideClicked method.

See updated example: https://stackblitz.com/edit/ivkrzp?file=src%2FApp.vue

MaXal avatar Jul 01 '24 16:07 MaXal