diff --git a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp index 3aca29e870..daab6358f3 100644 --- a/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp +++ b/Telegram/SourceFiles/ui/chat/attach/attach_bot_webview.cpp @@ -712,6 +712,7 @@ bool Panel::createWebview(const Webview::ThemeParams ¶ms) { view->setGeometry(geometry.marginsRemoved({ 0, 0, 0, footer })); crl::on_main(view, [=] { sendViewport(); + InvokeQueued(view, [=] { sendViewport(); }); }); } }, _webview->lifetime);