diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp index 9f2c9290c..c2c53681b 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp @@ -3002,7 +3002,7 @@ void Widget::updateControlsGeometry() { } const auto scrollTop = forumReportTop + (_forumReportBar ? _forumReportBar->bar().height() : 0); - const auto scrollHeight = height() - scrollTop; + const auto scrollHeight = height() - scrollTop - bottomSkip; const auto wasScrollHeight = _scroll->height(); _scroll->setGeometry(0, scrollTop, scrollWidth, scrollHeight); if (scrollHeight != wasScrollHeight) {