primevue icon indicating copy to clipboard operation
primevue copied to clipboard

ConfirmPopup: Not positioned correctly when not used inside <button>

Open marc-bq opened this issue 4 months ago • 1 comments

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

  • Click on trash icon or Label to see how the element is rendered in a wrong place
  • Click a second time without closing the popup to see how is rendered correectly.
  • Click on the Button or Star icon to see how is rendered correctly on the first click (both elements are inside a button tag)

Expected behavior

ConfirmPopup renders just below the clicked element

marc-bq avatar Oct 04 '24 14:10 marc-bq