I use a Dynamic Dialog from PrimeNG.
How can I force to close the dialog by clicking in the "nowhere" area around the dialog? Currently I only can close the dialog by using buttons within the dialog.
I use a Dynamic Dialog from PrimeNG.
How can I force to close the dialog by clicking in the "nowhere" area around the dialog? Currently I only can close the dialog by using buttons within the dialog.
Copyright © 2021 Jogjafile Inc.
You can use
dismissableMask
property to do that.dismissableMask
property specifices if clicking the modal background should hide the dialog.