diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp index 957589a90..bcf81a3b4 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp @@ -226,9 +226,10 @@ Widget::Widget( const auto makeChildListShown = [](PeerId peerId, float64 shown) { return InnerWidget::ChildListShown{ peerId, shown }; }; + using OverscrollType = Ui::ElasticScroll::OverscrollType; _scroll->setOverscrollTypes( - Ui::ElasticScroll::OverscrollType::Virtual, - Ui::ElasticScroll::OverscrollType::Real); + _stories ? OverscrollType::Virtual : OverscrollType::Real, + OverscrollType::Real); _inner = _scroll->setOwnedWidget(object_ptr( this, controller,