ant-design/ant-design-mobile

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

Open

#5,451 创建于 2022年7月6日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)TypeScript (11,238 star) (2,313 fork)batch import
bughelp wanteduncertain

描述

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

贡献者指南