-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextareaItem autoHeight 时,频幕滚动问题 #1858
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
延迟执行不能解决这个问题,应该是判断当前是不是 focus |
silentcloud
added a commit
that referenced
this issue
Sep 19, 2017
lixiaoyang1992
pushed a commit
to lixiaoyang1992/ant-design-mobile
that referenced
this issue
Apr 26, 2018
这个判断应该是在哪里啊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
1.6.7
Environment
ios 10.3 simulator、android 5.1motorola_XT1085、android 6.0 Samsung s6e
Reproduction link
https://gist.github.com/LPegasus/b5c109b85c56c234c4b946bad2b9c1a6
Steps to reproduce
输入 TextareaItem 填写很多很多文字,使频幕可滚动
触发 TextareaItem 的 componentDidUpdate
fill plenty of words into a the first TextareaItem with
autoHeight
prop till the body scrollbar appearsdo any action to trigger the first TextareaItem's
componentDidUpdate
functionWhat is expected?
频幕稳定在原位置
window should be stable
What is actually happening?
频幕滚动
window scroll to top
TextareaItem componentDidUpdate 中把
延迟执行,可以解决此问题。
delay the above two code lines may useful.
The text was updated successfully, but these errors were encountered: