not sure we need this, but adding the padding in _offset container

pull/21833/head
Bruno Windels 2019-01-08 18:17:00 +01:00
parent 0c364510ef
commit 8352d8c6bd
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class RoomDistributor {
_contentSize(item) {
const scrollItem = item.domNode.querySelector(".mx_RoomSubList_scroll");
const headerHeight = item.size() - scrollItem.offsetHeight;
return headerHeight + scrollItem.scrollHeight;
return headerHeight + scrollItem.scrollHeight + 4;
}
resize(size) {