-
Notifications
You must be signed in to change notification settings - Fork 772
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
InputITtem 清空内容的icon一直存在的问题 #196
Comments
其实是一个交互的问题,本来想在2.0里修复,既然提了就提前改了 |
那麻烦你们 InputItem 类型为 password时,增加 查看密码 的功能,这种普遍需求都没有。 没办法了,只有弃用,期待你们2.0 |
抱歉之前的困扰。 |
你好,你们框架使用的是 rem 作为css单位。我现在通过 postcss 更改为 vw 了,但是根节点任然被加上了 100rem (iphone 6/7/8 375 * 675 配置),这时通过 document.documentElement.clientHeight 获取到的高度为 675 * 2。 |
组件库中样式单位使用的是px,可根据使用情况选择是否转换rem,我们在产出包中也包含了一个vw的版本, 100rem是否是使用了其他库? |
{ 修改 package.json 中 main,type,module,unpkg 中的 lib 为 lib-vw 吗??? |
如果全量引入,直接import |
clear 这个icon不能显示,用demo中的例子代码也不能展示,但是别的icon可以显示 mand-mobile/components/icon/demo/cases/demo0.vue |
需要用检查元素看下是否有其他样式覆盖或者干扰的问题,如果没有的话用mand-mobile-issue-helper反馈下问题并提供下复现问题的demo |
问题:InputITtem 设置 clearable 属性后, 清空内容的icon一直存在的问题
解决:
在 mand-mobile/lib/input-item/index.js 文件 406 行
修改后的状态为:聚焦且有内容时显示clear,丢失焦点则display: none
The text was updated successfully, but these errors were encountered: