Fixed chat filters strip animation on search close.

This commit is contained in:
23rd
2026-07-23 18:43:24 +03:00
parent a8dca061b0
commit 9dcffe9712
@@ -2691,7 +2691,11 @@ void Widget::scrollToDefault(bool verytop) {
this,
QPoint(),
QRect(0, top, wideGeometry.width(), skip));
if (_chatFilters && !_chatFilters->isHidden()) {
if (_chatFilters
&& _searchState.query.isEmpty()
&& !_openedForum
&& !_searchState.community
&& !searchInPeer()) {
Ui::RenderWidget(
p,
_chatFilters,