Scroll to top on global posts search.

This commit is contained in:
John Preston
2025-08-18 10:31:28 +04:00
parent a09f57d908
commit a39c018359

View File

@@ -1886,6 +1886,7 @@ void Suggestions::setupPostsSearch() {
nullptr,
{ .posts = true, .start = true },
state.totalCount);
_postsScroll->scrollToY(0);
updatePostsSearchVisibleRange();
}
}, _postsWrap->lifetime());