[英]P-dialog is not closing on outside screen click in the mobile app screen
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. 我在图像点击中显示P对话框。当我单击/选择应用程序屏幕中的对话框时,该对话框没有关闭。
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>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.