primevue
primevue copied to clipboard
Fix Multiselect: Menu closes on select #4861
###Defect Fixes Fix for #4861
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 |
Cannot replicate issue with the latest version. How can replicate the issue?
@tugcekucukoglu Thank you for looking into the PR. The issue is still reproducible with V4: https://stackblitz.com/edit/ivkrzp?file=src%2FApp.vue
You could try to add a theme and if you prefer unstyled mode, unstyled
prop should be added to the component.
@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