| @@ -161,7 +161,8 @@ const scrollIntoView = (vnode) => { | |||
| } | |||
| const TextBox = { | |||
| autoSize: () => { | |||
| textbox.rows = textbox.value.split('\n').length | |||
| textbox.style.height = `0px` | |||
| textbox.style.height = `${textbox.scrollHeight}px` | |||
| }, | |||
| sendPost: () => { | |||
| if(textbox.value) { | |||