Fixed overlapping emoji suggestions in Replies section.

This commit is contained in:
23rd 2021-07-20 00:23:38 +03:00 committed by John Preston
parent cba0ebce6e
commit 2de0b79b4e
1 changed files with 4 additions and 1 deletions

View File

@ -1015,8 +1015,11 @@ void ComposeControls::init() {
}, _wrap->lifetime()); }, _wrap->lifetime());
_header->visibleChanged( _header->visibleChanged(
) | rpl::start_with_next([=] { ) | rpl::start_with_next([=](bool shown) {
updateHeight(); updateHeight();
if (shown) {
raisePanels();
}
}, _wrap->lifetime()); }, _wrap->lifetime());
sendContentRequests( sendContentRequests(