From 4f6c7657bf577c07985cdb26190db4731c2b7d74 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 19 Sep 2021 17:48:00 +0300 Subject: [PATCH] Fix comments root pinned view disappearing. --- .../SourceFiles/history/view/history_view_replies_section.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp index 4950615dd3..b6eb7039ed 100644 --- a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp @@ -1421,6 +1421,7 @@ QPixmap RepliesWidget::grabForShowAnimation(const Window::SectionSlideParams &pa _composeControls->showForGrab(); auto result = Ui::GrabWidget(this); if (params.withTopBarShadow) _topBarShadow->show(); + _rootView->hide(); return result; } @@ -1706,6 +1707,7 @@ void RepliesWidget::showAnimatedHook( void RepliesWidget::showFinishedHook() { _topBar->setAnimatingMode(false); _composeControls->showFinished(); + _rootView->show(); // We should setup the drag area only after // the section animation is finished,