ant-design/ant-design-mobile

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

Open

#5,451 opened on Jul 6, 2022

View on GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (2,313 forks)batch import
bughelp wanteduncertain

Repository metrics

Stars
 (11,238 stars)
PR merge metrics
 (Avg merge 7h 11m) (8 merged PRs in 30d)

Description

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

Contributor guide