1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-22 04:02:40 +03:00

use offsetHeight for consistency with sizer

This commit is contained in:
Bruno Windels
2019-01-24 16:45:26 +01:00
parent b230e65e74
commit 636955daef

View File

@@ -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();