Fix community layer bottom edge case.

This commit is contained in:
John Preston
2026-07-10 11:46:38 +04:00
parent 6fef776697
commit fc6fd2acc2
8 changed files with 35 additions and 13 deletions
@@ -2376,6 +2376,7 @@ void Suggestions::updateControlsGeometry() {
}
const auto expanding = false;
const auto contentTillBottom = true;
for (const auto &[key, list] : _mediaLists) {
const auto full = !list.wrap->scrollBottomSkip();
const auto additionalScroll = (full ? st::boxRadius : 0);
@@ -2384,6 +2385,7 @@ void Suggestions::updateControlsGeometry() {
list.wrap->updateGeometry(
wrapGeometry,
expanding,
contentTillBottom,
additionalScroll,
content.height());
}