1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00

clear min-height on ScrollPanel::componentDidUpdate to catch all cases

This commit is contained in:
Bruno Windels
2019-02-04 18:27:22 +00:00
parent a6914274b0
commit 3d393b654b
2 changed files with 8 additions and 5 deletions

View File

@@ -169,6 +169,10 @@ module.exports = React.createClass({
//
// This will also re-check the fill state, in case the paginate was inadequate
this.checkScroll();
if (!this.isAtBottom()) {
this.clearBlockShrinking();
}
},
componentWillUnmount: function() {