diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 0c299875fdf..52581ea1dac 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -518,9 +518,10 @@ private void SelectNextPage() [RelayCommand] private void SelectPrevItem() { - if (_history.Items.Count > 0 - && QueryText == string.Empty - && QueryResultsSelected()) + if (QueryResultsSelected() // Results selected + && string.IsNullOrEmpty(QueryText) // No input + && Results.Visibility != Visibility.Visible // No items in result list, e.g. when home page is off and no query text is entered, therefore the view is collapsed. + && _history.Items.Count > 0) // Have history items { lastHistoryIndex = 1; ReverseHistory();