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

[Bug Report] van-field 放在 van-dialog 中,弹出时 placeholder 的字会抖一下。 #3172

Closed
zkl2333 opened this issue May 21, 2020 · 2 comments

Comments

@zkl2333
Copy link

zkl2333 commented May 21, 2020

设备

开发者工具

VantWeapp 版本

1.2.2

基础库版本

2.10.1

如果是 UI 问题,截图链接(多图回车分隔)

截图

请提供核心代码片段链接

https://gist.github.com/zkl2333/01cbc5792d850f838b00e519074894d3

描述问题

van-field放在van-dialog中,弹出时placeholder的字会抖一下。

@rex-zsd
Copy link
Collaborator

rex-zsd commented May 25, 2020

dialog内部有input时,transition属性不可以用默认的scale,可以使用fadenone,否则会出现这个问题。
这个是由于小程序原生组件的特性导致的,不是组件库的问题。

@rex-zsd rex-zsd closed this as completed May 25, 2020
@zkl2333
Copy link
Author

zkl2333 commented May 25, 2020

dialog内部有input时,transition属性不可以用默认的scale,可以使用fadenone,否则会出现这个问题。
这个是由于小程序原生组件的特性导致的,不是组件库的问题。

谢谢

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