From 2de0b79b4ea613d6354794e3c46b2d5083e1dcb2 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Tue, 20 Jul 2021 00:23:38 +0300 Subject: [PATCH] Fixed overlapping emoji suggestions in Replies section. --- .../history/view/controls/history_view_compose_controls.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp b/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp index 9ca0f951de..0173a7a9cf 100644 --- a/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp +++ b/Telegram/SourceFiles/history/view/controls/history_view_compose_controls.cpp @@ -1015,8 +1015,11 @@ void ComposeControls::init() { }, _wrap->lifetime()); _header->visibleChanged( - ) | rpl::start_with_next([=] { + ) | rpl::start_with_next([=](bool shown) { updateHeight(); + if (shown) { + raisePanels(); + } }, _wrap->lifetime()); sendContentRequests(