diff --git a/Modules/Bar/Extras/TrayMenu.qml b/Modules/Bar/Extras/TrayMenu.qml index f4e17e78..e0831f7a 100644 --- a/Modules/Bar/Extras/TrayMenu.qml +++ b/Modules/Bar/Extras/TrayMenu.qml @@ -122,6 +122,16 @@ PopupWindow { border.color: Color.mOutline border.width: Math.max(1, Style.borderS) radius: Style.radiusM + + // Fade-in animation + opacity: root.visible ? 1.0 : 0.0 + + Behavior on opacity { + NumberAnimation { + duration: Style.animationNormal + easing.type: Easing.OutQuad + } + } } Flickable { @@ -131,6 +141,16 @@ PopupWindow { contentHeight: columnLayout.implicitHeight interactive: true + // Fade-in animation + opacity: root.visible ? 1.0 : 0.0 + + Behavior on opacity { + NumberAnimation { + duration: Style.animationNormal + easing.type: Easing.OutQuad + } + } + // Use a ColumnLayout to handle menu item arrangement ColumnLayout { id: columnLayout