You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
removed console.log
This commit is contained in:
@@ -513,7 +513,6 @@ export default class MessageComposerInput extends React.Component {
|
|||||||
// blocks of text in or insert newlines.
|
// blocks of text in or insert newlines.
|
||||||
if (textContent.slice(selection.start).indexOf("\n") === -1) {
|
if (textContent.slice(selection.start).indexOf("\n") === -1) {
|
||||||
let editorRoot = this.refs.editor.refs.editor.parentNode.parentNode;
|
let editorRoot = this.refs.editor.refs.editor.parentNode.parentNode;
|
||||||
console.log(editorRoot, editorRoot.scrollHeight);
|
|
||||||
editorRoot.scrollTop = editorRoot.scrollHeight;
|
editorRoot.scrollTop = editorRoot.scrollHeight;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user