Merge branch 'fix_textfields' into shigusegubu
* fix_textfields: fixed incorrect height when empty text
This commit is contained in:
commit
51b604a790
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ const PostStatusForm = {
|
||||||
target.style.height = 'auto'
|
target.style.height = 'auto'
|
||||||
target.style.height = `${target.scrollHeight - vertPadding}px`
|
target.style.height = `${target.scrollHeight - vertPadding}px`
|
||||||
if (target.value === '') {
|
if (target.value === '') {
|
||||||
target.style.height = undefined
|
target.style.height = null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
clearError () {
|
clearError () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue