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