fix(@desktop/general): clicking anywhere outside a modal dialog should close it
Fixes: #9702
This commit is contained in:
parent
cab6af212f
commit
52bb597106
|
@ -62,7 +62,8 @@ StatusModal {
|
|||
|
||||
width: 480
|
||||
height: 546
|
||||
closePolicy: Popup.NoAutoClose
|
||||
closePolicy: submitBtn.loading? Popup.NoAutoClose : Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
hasCloseButton: !submitBtn.loading
|
||||
header.title: qsTr("Change password")
|
||||
|
||||
onOpened: view.reset()
|
||||
|
|
|
@ -15,6 +15,7 @@ StatusModal {
|
|||
height: 248
|
||||
|
||||
closePolicy: Popup.NoAutoClose
|
||||
hasCloseButton: false
|
||||
|
||||
showHeader: false
|
||||
contentItem: ColumnLayout {
|
||||
|
|
|
@ -13,7 +13,7 @@ StatusModal {
|
|||
property var emojiPopup
|
||||
|
||||
width: Constants.keycard.general.popupWidth
|
||||
closePolicy: d.disableActionPopupButtons || d.disableCloseButton? Popup.NoAutoClose : Popup.CloseOnEscape
|
||||
closePolicy: d.disableActionPopupButtons || d.disableCloseButton? Popup.NoAutoClose : Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
hasCloseButton: !d.disableActionPopupButtons && !d.disableCloseButton
|
||||
|
||||
header.title: {
|
||||
|
|
Loading…
Reference in New Issue