mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 17:49:00 +00:00
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
|
width: 480
|
||||||
height: 546
|
height: 546
|
||||||
closePolicy: Popup.NoAutoClose
|
closePolicy: submitBtn.loading? Popup.NoAutoClose : Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||||
|
hasCloseButton: !submitBtn.loading
|
||||||
header.title: qsTr("Change password")
|
header.title: qsTr("Change password")
|
||||||
|
|
||||||
onOpened: view.reset()
|
onOpened: view.reset()
|
||||||
|
@ -15,6 +15,7 @@ StatusModal {
|
|||||||
height: 248
|
height: 248
|
||||||
|
|
||||||
closePolicy: Popup.NoAutoClose
|
closePolicy: Popup.NoAutoClose
|
||||||
|
hasCloseButton: false
|
||||||
|
|
||||||
showHeader: false
|
showHeader: false
|
||||||
contentItem: ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
|
@ -13,7 +13,7 @@ StatusModal {
|
|||||||
property var emojiPopup
|
property var emojiPopup
|
||||||
|
|
||||||
width: Constants.keycard.general.popupWidth
|
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
|
hasCloseButton: !d.disableActionPopupButtons && !d.disableCloseButton
|
||||||
|
|
||||||
header.title: {
|
header.title: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user