Open marc-bq opened 1 week ago
ConfirmPopup component is rendered in wrong place when not used inside tag. After clicking on the same element a second time while the ConfirmPopup is still displayed, then is rendered in the correct place.
https://stackblitz.com/edit/igcfdm?file=src%2FApp.vue
4.0.7
3.x
TypeScript
Vite
Chrome
ConfirmPopup renders just below the clicked element
I would say for accessibility reasons you should only ever attach click events to buttons, otherwise (without a lot of additional code) it degrades the experience for users who prefer navigating with keyboard.
Describe the bug
ConfirmPopup component is rendered in wrong place when not used inside
Reproducer
https://stackblitz.com/edit/igcfdm?file=src%2FApp.vue
PrimeVue version
4.0.7
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior
ConfirmPopup renders just below the clicked element