You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
make sure the min-height doesn't get cleared by checkScroll
This commit is contained in:
@ -635,9 +635,9 @@ module.exports = React.createClass({
|
|||||||
_onTypingVisible: function() {
|
_onTypingVisible: function() {
|
||||||
const scrollPanel = this.refs.scrollPanel;
|
const scrollPanel = this.refs.scrollPanel;
|
||||||
if (scrollPanel && scrollPanel.getScrollState().stuckAtBottom) {
|
if (scrollPanel && scrollPanel.getScrollState().stuckAtBottom) {
|
||||||
scrollPanel.blockShrinking();
|
|
||||||
// scroll down if at bottom
|
// scroll down if at bottom
|
||||||
scrollPanel.checkScroll();
|
scrollPanel.checkScroll();
|
||||||
|
scrollPanel.blockShrinking();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user