fixed incorrect height when empty text
This commit is contained in:
parent
afa2baec0c
commit
5970bf4e85
1 changed files with 1 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue