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

van-field 组件在不输入文本时placeholder提示文本没有垂直居中,输入文本正常 #1483

Closed
Kennersky opened this issue Apr 2, 2019 · 2 comments · Fixed by #1527
Assignees
Labels
Milestone

Comments

@Kennersky
Copy link

Kennersky commented Apr 2, 2019

van-field 组件textarea高度自适应模式时在不输入文本时placeholder提示文本没有垂直居中,输入文本正常
TIM截图20190402153453

截图
TIM截图20190402152321
TIM截图20190402152434
TIM截图20190402152627

环境

  • 设备: Honor V20 、微信开发者工具模拟器
  • 基础库版本: 2.6.4
  • Vant Weapp 版本: 0.5.8
@rex-zsd
Copy link
Collaborator

rex-zsd commented Apr 10, 2019

微信原生组件的样式问题,要找下是不是有稍微优雅一点的方法兼容这个问题。

@Kennersky
Copy link
Author

Kennersky commented Apr 11, 2019

微信原生组件的样式问题,要找下是不是有稍微优雅一点的方法兼容这个问题。

发现一个库color-ui,里面的textarea并不会这样,可以参考看看,貌似是应用的自定义placeholder样式

@rex-zsd rex-zsd added this to the 0.5.11 milestone Apr 16, 2019
@rex-zsd rex-zsd self-assigned this Apr 16, 2019
rex-zsd added a commit to rex-zsd/vant-weapp that referenced this issue Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants