desktop: Keep list rows in place when new ones arrive

A new issue, patch or release at the top of the list pushed the rows the
user was looking at down by one.
This commit is contained in:
Rūdolfs Ošiņš
2026-11-20 19:32:17 +01:00
parent cc65aea3be
commit 180ab75364
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -338,6 +338,7 @@
</div>
<VirtualList
items={searchResults}
keepRowsOnPrepend={!debouncedSearch.current}
hasMore={list.more}
loadingMore={list.loadingMore}
onLoadMore={() => list.loadMore()}
+1
View File
@@ -366,6 +366,7 @@
</div>
<VirtualList
items={searchResults}
keepRowsOnPrepend={!debouncedSearch.current}
hasMore={list.more}
loadingMore={list.loadingMore}
onLoadMore={() => list.loadMore()}
+1
View File
@@ -193,6 +193,7 @@
<ScrollArea style="height: 100%; min-width: 0;">
<VirtualList
items={list.items}
keepRowsOnPrepend
hasMore={list.more}
loadingMore={list.loadingMore}
onLoadMore={() => list.loadMore()}