mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Scroll to field on search query update.
This commit is contained in:
@@ -88,8 +88,8 @@ Widget::Widget(
|
||||
this,
|
||||
controller));
|
||||
_inner->scrollToRequests()
|
||||
| rpl::start_with_next([this](int skip) {
|
||||
scrollTo({ skip, -1 });
|
||||
| rpl::start_with_next([this](Ui::ScrollToRequest request) {
|
||||
scrollTo(request);
|
||||
}, _inner->lifetime());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user