I am showing P-dialog in the image click.When I click/select out side the dialog in the app screen the dialog is not closing.
How to close p-dialog on any selection of place in the screen ie outside of the dialog?
您可以设置标志[dismissableMask]="true"
以在单击外部时关闭模式。
<p-dialog [(visible)]="display" [dismissableMask]="true"></p-dialog>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.