primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.58k stars 1.23k forks source link

Drawer: no before-hide emit #6770

Open raizdev opened 3 days ago

raizdev commented 3 days ago

Describe the bug

I see there is no before-hide emit which means that I couldn't ask if the user wants to leave the drawer for example. Currently I am using drawer with builder in forms, means if user clicks outside div it immediately closes the drawer.

In my eyes its a benefit to add before-hide emit in drawer

Reproducer

-

PrimeVue version

4.1.2

Vue version

4.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

sivareddyuppathi commented 1 day ago

PR for above mentioned Enhancement.

https://github.com/primefaces/primevue/pull/6787