Fix init glitch in ComposeControls.
This commit is contained in:
parent
5f5933c1b3
commit
1f69c61d51
|
@ -778,6 +778,13 @@ SuggestionsController::SuggestionsController(
|
|||
|
||||
updateForceHidden();
|
||||
|
||||
_container->shownValue(
|
||||
) | rpl::filter([=](bool shown) {
|
||||
return shown && !_shown;
|
||||
}) | rpl::start_with_next([=] {
|
||||
_container->hide();
|
||||
}, _container->lifetime());
|
||||
|
||||
handleTextChange();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue