Drawer: Footer Div/Slot added by default #6048
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
In PrimeVue version 4, the Drawer component automatically includes a footer div or footer slot by default. This behavior occurs even when the footer slot is not explicitly mentioned or needed. We would prefer the footer to only be added when explicitly defined.
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-18djpc?file=src%2FApp.vue
PrimeVue version
4.0.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome, Firefox
Steps to reproduce the behavior
Expected behavior
The Drawer component should not include a footer div or slot unless explicitly defined by the user.
The text was updated successfully, but these errors were encountered: