Commit 558d552f authored by Ming Rui Zhang's avatar Ming Rui Zhang

chatview: grow text area when pasting multiple lines

Change-Id: I43c2a84289bfd19a7012981690a9d1de88cc7977
parent 3e386d01
......@@ -2367,6 +2367,7 @@ function replaceText(text) {
var output = [currentContent.slice(0, start), text, currentContent.slice(end)].join("")
input.value = output
setCaretPosition(input, start + text.length)
grow_text_area()
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment