Skip to content
Snippets Groups Projects
Commit 5970bf4e authored by HJ's avatar HJ :fire:
Browse files

fixed incorrect height when empty text

parent afa2baec
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,7 @@ const PostStatusForm = {
target.style.height = 'auto'
target.style.height = `${target.scrollHeight - vertPadding}px`
if (target.value === '') {
target.style.height = undefined
target.style.height = null
}
},
clearError () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment