Single steps are not rendered
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, nextjs, react
- Domain
- frontend
Research direction
Start with the supplied React 18 and Next.js 12.3 reproduction, comparing the horizontal and vertical Steps examples. Trace how the Steps wrapper handles its Step children; done when single-step children render in both examples without regressing the shown multi-step behavior.
Written by the indexing model from the issue text.
Description
React 18, Nextjs 12.3
import Steps from 'rc-steps';
import 'rc-steps/assets/index.css';
const { Step } = Steps;
const Tracking = () => {
const [current, setCurrent] = useState(0);
const onChange = (value) => {
console.log('onChange:', current);
setCurrent(value);
};
return (
<>
<Steps current={current} onChange={onChange}>
<Step title="Step 1" description="This is a description." />
<Step title="Step 2" description="This is a description." />
<Step title="Step 3" description="This is a description." />
</Steps>
<Steps current={current} onChange={onChange} direction="vertical">
<Step title="Step 1" description="This is a description." />
<Step title="Step 2" description="This is a description." />
<Step title="Step 3" description="This is a description." />
</Steps>
</>
);
}
The single steps are not rendered within the Steps wrapper.

- Dominant language
- TypeScript
- Stars
- 332
- Forks
- 107
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-component/steps
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
react-component/steps#377 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
react-component/steps#369 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
react-component/steps#361 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
react-component/steps#333 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
react-component/steps#222 ·
All issues in react-component/steps
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·