diff --git a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp index dc9caa93cf..65d1c2ee4c 100644 --- a/Telegram/SourceFiles/history/view/history_view_list_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_list_widget.cpp @@ -1470,7 +1470,9 @@ void ListWidget::revealItemsCallback() { ? (_minHeight - _itemsHeight - st::historyPaddingBottom) : 0; const auto wasHeight = height(); - const auto nowHeight = std::max(_minHeight, wasHeight + delta); + const auto nowHeight = _itemsTop + + _itemsHeight + + st::historyPaddingBottom; if (wasHeight != nowHeight) { resize(width(), nowHeight); }