diff --git a/components/mobileshell/qml/homescreen/HomeScreen.qml b/components/mobileshell/qml/homescreen/HomeScreen.qml index b4a70290..b55ea3d8 100644 --- a/components/mobileshell/qml/homescreen/HomeScreen.qml +++ b/components/mobileshell/qml/homescreen/HomeScreen.qml @@ -143,10 +143,13 @@ Item { target: MobileShell.WindowUtil function onActiveWindowIsShellChanged() { - if (MobileShell.WindowUtil.activeWindowIsShell && !taskSwitcher.visible) { - itemContainer.zoomIn(); - } else { - itemContainer.zoomOut(); + // only animate if homescreen is visible + if (!taskSwitcher.visible) { + if (MobileShell.WindowUtil.activeWindowIsShell) { + itemContainer.zoomIn(); + } else { + itemContainer.zoomOut(); + } } } }