From 8352d8c6bd63b952e266157beccb117276d5f333 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 8 Jan 2019 18:17:00 +0100 Subject: [PATCH] not sure we need this, but adding the padding in _offset container --- src/resizer/room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resizer/room.js b/src/resizer/room.js index c93a2ec334..c8bc8a2628 100644 --- a/src/resizer/room.js +++ b/src/resizer/room.js @@ -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) {