Froze top bar suggestion content during child-list collapse animation.

This commit is contained in:
23rd
2026-05-16 10:17:08 +03:00
parent 14f92613a9
commit 1c69103fc8
6 changed files with 153 additions and 24 deletions
@@ -1123,7 +1123,8 @@ void Widget::setupTopBarSuggestions() {
_innerList,
&session(),
std::move(on),
_childListShown.value());
_childListShown.value(),
_prepareTopBarSnapshot.events());
}) | rpl::flatten_latest() | rpl::on_next([=](
Ui::SlideWrap<Ui::RpWidget> *raw) {
if (raw) {
@@ -3467,6 +3468,7 @@ void Widget::openChildList(
}
}, shadow->lifetime());
_prepareTopBarSnapshot.fire({});
updateControlsGeometry();
updateControlsVisibility(true);