-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
多文本省略css失效 #8688
Comments
是被 autoprefixer 处理了,可以选择配置一下 autoprefixer |
我配置remove:false;没有什么变化,而且说我的配置有误,请问是我配置方式有错误吗? Taro 配置有误,请检查! (D:\LaiPai\lp_assets_clerk\config\index.js) 配置项内容: |
Duplicate of #6741 3.1 已修复 |
感谢答复 |
相关平台
H5
**浏览器版本: Chrome 79 Mobile Safari 537.36 **
使用框架: React
复现步骤
H5,浏览器测试无问题,手机浏览器首次渲染页面,文本超出规定范围不会有省略号,切换底部tabBar回跳页面,省略功能有效,当渲染遍历新节点时,如懒加载第二页的数据,数据超出依然不会被省略,依然切换底部tabBar有效,刷新页面,多文本效果依然失效
期望结果
多文本超出省略
实际结果
多文本超出未成功省略和效果时机不正确
环境信息
补充信息
&-title {
height: 60px;
font-size: 26px;
font-weight: 400;
color: #333333;
overflow: hidden;
line-height: 30px;
display: -webkit-box;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
The text was updated successfully, but these errors were encountered: