Skip to content
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

Textarea组件的placeholder在安卓真机上位置有点偏上没有像开发者工具和iOS手机一样在中间 #16037

Open
xm1769315774 opened this issue Jul 4, 2024 · 3 comments

Comments

@xm1769315774
Copy link

这个特性解决了什么问题?

安卓真机上Textarea的placeholder的展示问题

这个 API 长什么样?

安卓真机的表现和微信开发者工具和iOS一致

微信开发者表现:
微信开发者工具png
iOS表现:
ios

安卓表现:
安卓

注意光标的位置,而且很明显的在安卓真机上placeholder位置偏上的

This was referenced Jul 6, 2024
@chenqiuling
Copy link

同样的问题,请问解决了吗?

@xm1769315774
Copy link
Author

看状态目前还是open,应该还没有解决,估计有优先级更高的要处理

@chenqiuling
Copy link

看状态目前还是open,应该还没有解决,估计有优先级更高的要处理

已经解决,是因为textarea有个默认line-height的原因,设置成line-height: normal;就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants