removed console.log
This commit is contained in:
parent
e543f55572
commit
2189fe9256
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue