You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +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