Commit 32ad90f
Fix search auto-selecting wrong item before programs finish loading (#2451)
fix: defer auto-select until programs loaded to prevent wrong search result selection
When search results refresh mid-collection, OnRefresh auto-selects the
first result item. If programs haven't loaded yet, Settings category
appears first and gets selected. If user hits Enter in that window,
wrong item launches.
Skip auto-select when search is still in progress and no programs
have been found yet. Next refresh after programs load will select
correctly.
Fixes #456
Fixes #1982
Fixes #4
> 🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent e2758ec commit 32ad90f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6366 | 6366 | | |
6367 | 6367 | | |
6368 | 6368 | | |
6369 | | - | |
| 6369 | + | |
| 6370 | + | |
| 6371 | + | |
| 6372 | + | |
6370 | 6373 | | |
6371 | 6374 | | |
6372 | 6375 | | |
| |||
0 commit comments