not sure we need this, but adding the padding in _offset container
This commit is contained in:
parent
0c364510ef
commit
8352d8c6bd
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class RoomDistributor {
|
||||||
_contentSize(item) {
|
_contentSize(item) {
|
||||||
const scrollItem = item.domNode.querySelector(".mx_RoomSubList_scroll");
|
const scrollItem = item.domNode.querySelector(".mx_RoomSubList_scroll");
|
||||||
const headerHeight = item.size() - scrollItem.offsetHeight;
|
const headerHeight = item.size() - scrollItem.offsetHeight;
|
||||||
return headerHeight + scrollItem.scrollHeight;
|
return headerHeight + scrollItem.scrollHeight + 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
resize(size) {
|
resize(size) {
|
||||||
|
|
Loading…
Reference in a new issue