It seems that the change from click to mousedown introduced in v5.1 broke the v-close-popper directive, so clicking on an element that has the directive no longer closes the popper.
Here's a Stackblitz showcasing the issue, you'll notice that the dropdown that uses hide works as expected while the one using v-close-popper does not.
https://stackblitz.com/edit/vue3-tailwind-ad4rfl?file=src%2FApp.vue
I think the issue probably lies here:
|
el.addEventListener('click', onClick) |
I tried to fork the project and follow the contributing guidelines but I wasn't able to fire-up the dev environment.