Skip to content
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

[Progress <进度条>]: 数值太小样式显示错误 #623

Closed
gssggssg opened this issue Mar 7, 2022 · 1 comment
Closed

[Progress <进度条>]: 数值太小样式显示错误 #623

gssggssg opened this issue Mar 7, 2022 · 1 comment
Assignees

Comments

@gssggssg
Copy link
Contributor

gssggssg commented Mar 7, 2022

注意:根据下面内容复现错误问题,以方便测试。

描述错误

数值太小样式显示错误

错误复现

重现行为的步骤:

  1. Progress组件的percent属性值设置为小于2

重现示例

import ReactDOM from 'react-dom';
import { Progress } from 'uiw';

const Demo = () => (
  <div>
    <Progress.Line strokeWidth={18} percent={1} status="exception" />
  </div>
);
ReactDOM.render(<Demo />, _mount_);

预期行为

进度颜色填充在进度条组件圆角内部

截图

c1914f4cf6a79bf7fbe0b98c2379be7

image

桌面(请填写以下信息):

  • UIW:4.13.6
  • 操作系统:win10
  • 浏览器:Chrome
  • 版本和构建: 98.0.4758.102
@nullptr-z
Copy link
Collaborator

@gssggssg 已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants