diff --git a/Widgets/NComboBox.qml b/Widgets/NComboBox.qml index 9c9b5bd2..f6ac29ba 100644 --- a/Widgets/NComboBox.qml +++ b/Widgets/NComboBox.qml @@ -89,6 +89,14 @@ RowLayout { implicitHeight: Math.min(root.popupHeight, contentItem.implicitHeight + Style.marginM * scaling * 2) padding: Style.marginM * scaling + onOpened: { + PanelService.willOpenPopup(root) + } + + onClosed: { + PanelService.willClosePopup(root) + } + contentItem: ListView { property var comboBoxRoot: root clip: true diff --git a/Widgets/NIconPicker.qml b/Widgets/NIconPicker.qml index bc6af0d8..c0ffaa49 100644 --- a/Widgets/NIconPicker.qml +++ b/Widgets/NIconPicker.qml @@ -41,6 +41,11 @@ Popup { selectedIcon = initialIcon query = initialIcon searchInput.forceActiveFocus() + PanelService.willOpenPopup(root) + } + + onClosed: { + PanelService.willClosePopup(root) } background: Rectangle { diff --git a/Widgets/NSearchableComboBox.qml b/Widgets/NSearchableComboBox.qml index 9093f4a5..9ecb4a6e 100644 --- a/Widgets/NSearchableComboBox.qml +++ b/Widgets/NSearchableComboBox.qml @@ -153,6 +153,14 @@ RowLayout { height: root.popupHeight + 60 * scaling padding: Style.marginM * scaling + onOpened: { + PanelService.willOpenPopup(root) + } + + onClosed: { + PanelService.willClosePopup(root) + } + contentItem: ColumnLayout { spacing: Style.marginS * scaling