[英]How can I prevent off the screen the dragging of a p-dialog from PrimeNG
[英]P-dialog is not closing on outside screen click in the mobile app screen
我在圖像點擊中顯示P對話框。當我單擊/選擇應用程序屏幕中的對話框時,該對話框沒有關閉。
如何關閉屏幕上任意位置的對話框,即對話框之外的對話框?
您可以設置標志[dismissableMask]="true"
以在單擊外部時關閉模式。
<p-dialog [(visible)]="display" [dismissableMask]="true"></p-dialog>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.