clear min-height on timeline resets and other occasions where we load it

This commit is contained in:
Bruno Windels 2019-02-22 16:23:05 +01:00
parent 32f055bec2
commit 8bb8ec141e
2 changed files with 12 additions and 0 deletions

View file

@ -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);
},