mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00: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