diff --git a/.config/quickshell/modules/overview/SearchWidget.qml b/.config/quickshell/modules/overview/SearchWidget.qml index 19cf5f459..b566f1b32 100644 --- a/.config/quickshell/modules/overview/SearchWidget.qml +++ b/.config/quickshell/modules/overview/SearchWidget.qml @@ -183,13 +183,6 @@ Item { // Wrapper placeholderTextColor: Appearance.m3colors.m3outline implicitWidth: root.searchingText == "" ? Appearance.sizes.searchWidthCollapsed : Appearance.sizes.searchWidth - KeyNavigation.down: { - if (appResults.count > 1) { - appResults.focus = true; - appResults.currentIndex = 1; - } - } - Behavior on implicitWidth { NumberAnimation { duration: Appearance.animation.elementDecelFast.duration @@ -244,6 +237,10 @@ Item { // Wrapper spacing: 0 KeyNavigation.up: searchBar + onFocusChanged: { + if(focus) appResults.currentIndex = 1; + } + Connections { target: root function onSearchingTextChanged() {