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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user