2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 15:35:51 +00:00

Fix scrolling expanded frequent contacts.

This commit is contained in:
John Preston
2024-05-04 14:36:26 +04:00
parent 7289292f02
commit 129d356909
3 changed files with 12 additions and 0 deletions

View File

@@ -970,6 +970,11 @@ void Suggestions::setupChats() {
_chatsScroll->scrollToY(request.ymin, request.ymax);
}, _topPeers->lifetime());
_topPeers->verticalScrollEvents(
) | rpl::start_with_next([=](not_null<QWheelEvent*> e) {
_chatsScroll->viewportEvent(e);
}, _topPeers->lifetime());
_chatsScroll->setVisible(_tab.current() == Tab::Chats);
}