You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
Merge pull request #214 from matrix-org/rav/gemini-resize
Use our fork of react-gemini-scrollbar to fix resize issues
This commit is contained in:
@ -163,17 +163,6 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
|
||||
// makes the MessagePanel update itself after it is resized (due to other
|
||||
// changes in the DOM)
|
||||
onResize: function() {
|
||||
if (!this.refs.scrollPanel) { return; }
|
||||
|
||||
// we don't need to forceUpdate ourselves here, but we do need to
|
||||
// forceUpdate the scrollpanel, which will make the gemini panel update
|
||||
// itself and trigger a scroll position check.
|
||||
this.refs.scrollPanel.forceUpdate();
|
||||
},
|
||||
|
||||
_getEventTiles: function() {
|
||||
var EventTile = sdk.getComponent('rooms.EventTile');
|
||||
|
||||
|
Reference in New Issue
Block a user