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(