diff --git a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp index 04d814478e..2f06caa210 100644 --- a/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp +++ b/Telegram/SourceFiles/media/view/media_view_overlay_widget.cpp @@ -3209,6 +3209,12 @@ void OverlayWidget::show(OpenRequest request) { // Count top notch on macOS before counting geometry. _helper->beforeShow(_fullscreen); } + if (_cachedShow) { + _cachedShow->showOrHideBoxOrLayer( + v::null, + Ui::LayerOption::CloseOther, + anim::type::instant); + } if (photo) { if (contextItem && contextPeer) { return;