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

组件显示问题:Steps 点状步骤条显示问题 #554

Closed
icrous00 opened this issue Feb 24, 2022 · 3 comments
Closed

组件显示问题:Steps 点状步骤条显示问题 #554

icrous00 opened this issue Feb 24, 2022 · 3 comments

Comments

@icrous00
Copy link

当Steps添加progressDot属性后,并且为横向步骤条,到达最后一步时,最后一步进度条样式出错

import React from 'react';
import ReactDOM from 'react-dom';
import { Steps } from 'uiw';

function Demo() {
  return (
    <Steps progressDot status="error" current={3} style={{padding:"20px 0"}}>
      <Steps.Step title="步骤一" description="这里是步骤一的说明,可以很长很长哦。" />
      <Steps.Step title="步骤二" description="这里是步骤一的说明,可以很长很长哦。" />
      <Steps.Step title="步骤三" description="这里是步骤一的说明,可以很长很长哦。" />
      <Steps.Step title="步骤四" description="这里是步骤一的说明,可以很长很长哦。" />
    </Steps>
  )
}

ReactDOM.render(<Demo />, _mount_);
@nullptr-z
Copy link
Collaborator

有相关错误截图吗

@icrous00
Copy link
Author

image

@cuilanxin
Copy link
Collaborator

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

No branches or pull requests

3 participants