-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
badge 不能正确显示 #4290
Comments
确定浏览器没有缩放? |
@ddcat1115 浏览器没有缩放 但是刚才我尝试“更改文本、应用和其他项目的大小” 从125%至100%,显示就正常了,可是现在基本win10用户都会设置为推荐的125%,请问有什么解决办法么 |
relative: #4176 或者 Badge 需要动态获取宽高? |
可以有,能用纯样式解决最好。现在高度在 js 里写死了。 |
想了下,现阶段还是要 hard code。
ref: ant-design/components/badge/ScrollNumber.tsx Lines 106 to 121 in 588f0c3
|
@yitengruntu 这种系统默认缩放的问题,感觉现阶段无解。。 |
@benjycui 可是这种情况只发生在chrome里 国产双核浏览器,ie和ie edge都没有问题 |
有更多信息时再打开吧,没有环境不好搞。 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
发生问题的环境是:
无法正常显示badge
The text was updated successfully, but these errors were encountered: