You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 28, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
本地环境
你做了什么?
设置TextAreaItem的autoHeight属性, 通过value赋值多行文本给该组件
你期待的结果是:
期望控件的高度和内容的高度一致
实际上的结果:
设置值以后,组件只显示了一行的高度,其它行需要scroll才能显示出来,高度没有适配内容。
当用键盘输入任何一个字符是,高度才会适配内容,此时显示正常。
可能出问题的地方:
看来下源代码,可能是直接通过value设置内容,并没有触发onChange事件,而更新高度只在onChange函数里。
The text was updated successfully, but these errors were encountered: