Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConfirmPopup: Target not set properly after await/promise #5706

Open
mnaeemshakir opened this issue May 8, 2024 · 1 comment
Open

ConfirmPopup: Target not set properly after await/promise #5706

mnaeemshakir opened this issue May 8, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@mnaeemshakir
Copy link

Describe the bug

Steps to reproduce are simple

1 - Copy an example from https://primevue.org/confirmpopup/
2 - Make an API call before showing/triggering confirm
3 - Confirm popup will be displayed on upper left corner of the screen.

Reproducer

https://stackblitz.com/edit/bycjcy-g8skn4?file=src%2FApp.vue

PrimeVue version

3.5

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@mnaeemshakir mnaeemshakir added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 8, 2024
@ichenhe
Copy link

ichenhe commented Jun 8, 2024

May be the same problem: the popup is moved to the left-top corner if the stopPropagation is called. Even though stop the event after calling confirm.require().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants