Skip to content

ConfirmPopup, no position if event is stopped #7566

Open
@Winter979

Description

@Winter979

Describe the bug

If the event that triggers a confirmation popup is stopped, either with e.stopPropagation or @click.stop, then the confirmation popoup is positioned at 0,0 (top left corner)

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template-sazltzbb?file=src%2FApp.vue

Environment

Upto date versions

Vue version

3.4.31

PrimeVue version

4.3.3

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

Stop the click event before running confirm.require

Expected behavior

the confirmation popup would still appear in the correct position

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Pending ReviewIssue or pull request is being reviewed by Core Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions