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

DatePicker does not play well with ConfirmPopup. #6696

Closed
gevorgter opened this issue Oct 31, 2024 · 0 comments · Fixed by #6703
Closed

DatePicker does not play well with ConfirmPopup. #6696

gevorgter opened this issue Oct 31, 2024 · 0 comments · Fixed by #6703
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@gevorgter
Copy link

Describe the bug

DatePicker's button to change year, or month are closing ConfirmPopup as if you clicked outside of it.

Reproducer

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

PrimeVue version

latest

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Add DatePicker inside of ConfirmPopup
  2. Show ConfirmPopup with confirm.require
  3. Try to go to next month or change year in the DatePicker control
    It will close the confirmPopup as if you clicked outside of it.

Expected behavior

Should not close confirmPopup.

@gevorgter gevorgter added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 31, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 12, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.2.2 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants