Closed
Description
Describe the bug
When a DatePicker component is inside of a <template #editor>
element for a DataTable with in-cell editing the pop-up for the DatePicker is closed after trying to change it's value. I'm currently using PrimeVue version 4.3.3 at my workplace and noticed that the issue was introduced sometime between version 4.2.5 and 4.3.3.
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/vitejs-vite-dbh2tcqb?file=src%2FApp.vue
Environment
Windows 11
Vue version
3.5.13
PrimeVue version
4.3.3
Node version
No response
Browser(s)
Chrome
Steps to reproduce the behavior
- Go to the linked StackBlitz
- Try clicking on one of the headers in the DataTable. This should now display the DatePicker component
- Click the DatePicker component and try to change to a new date or just simply click inside of the pop-up
Expected behavior
The pop-up should stay open and a value should be set, but the pop-up closes right after the click event