ant-design-mobile icon indicating copy to clipboard operation
ant-design-mobile copied to clipboard

浏览器设置了字体大小之后会导致 Ellipsis 的省略计算不准确

Open prui opened this issue 3 years ago • 5 comments

Version of antd-mobile

v5.17.2

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

现象:浏览器设置了字体大小之后会导致 Ellipsis 的省略计算不准确

正确行为:浏览器设置了字体大小之后 Ellipsis 的省略计算应当准确

具体设置跟问题现象可以看下图

image

image

Relevant log output

No response

prui avatar Jul 06 '22 09:07 prui

你用的浏览器是啥?

awmleer avatar Jul 06 '22 09:07 awmleer

感觉这个锅要浏览器来背,antd-mobile 应该不会解决了(大概率也解决不了)

awmleer avatar Jul 06 '22 09:07 awmleer

安卓浏览器都会

prui avatar Jul 06 '22 10:07 prui

那我先标一下 help wanted,我自己不太能有精力深入排查这个问题了~

awmleer avatar Jul 21 '22 03:07 awmleer

好的,这个问题暂时我们也没管,关系到浏览器对页面渲染的处理了吧,设置了字体大小之后真实渲染跟代码写的字号是不一样的

---原始邮件--- 发件人: @.> 发送时间: 2022年7月21日(周四) 中午11:34 收件人: @.>; 抄送: @.@.>; 主题: Re: [ant-design/ant-design-mobile] 浏览器设置了字体大小之后会导致 Ellipsis 的省略计算不准确 (Issue #5451)

那我先标一下 help wanted,我自己不太能有精力深入排查这个问题了~

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

prui avatar Jul 21 '22 04:07 prui