You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
clear min-height on timeline resets and other occasions where we load it
This commit is contained in:
@ -658,6 +658,13 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
|
||||
clearTimelineHeight: function() {
|
||||
const scrollPanel = this.refs.scrollPanel;
|
||||
if (scrollPanel) {
|
||||
scrollPanel.clearBlockShrinking();
|
||||
}
|
||||
},
|
||||
|
||||
onResize: function() {
|
||||
dis.dispatch({ action: 'timeline_resize' }, true);
|
||||
},
|
||||
|
Reference in New Issue
Block a user