From 636955daef3c27b67b73b6b20add81528abe4ce1 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 24 Jan 2019 16:45:26 +0100 Subject: [PATCH] use offsetHeight for consistency with sizer --- src/components/views/rooms/RoomList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomList.js b/src/components/views/rooms/RoomList.js index 647e755456..0c910f6808 100644 --- a/src/components/views/rooms/RoomList.js +++ b/src/components/views/rooms/RoomList.js @@ -191,7 +191,7 @@ module.exports = React.createClass({ }); this._layout.update( this._layoutSections, - this.resizeContainer && this.resizeContainer.clientHeight, + this.resizeContainer && this.resizeContainer.offsetHeight, ); this._checkSubListsOverflow();