Use together Clickable steps and Footer inside the step. #22
-
|
Hello, I'm trying to use together Clickable steps and Footer inside the step. Clickable steps works, but the prev and next buttons do not. Any tips what I'm not doing properly? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The current implementation of the <Stepper
orientation="vertical"
initialStep={0}
steps={steps}
onClickStep={(step, setStep) => {
setStep(step); // Manual step management
}}
>Remove the onClickStep prop to restore the default step management. The updated implementation is: <Stepper
orientation="vertical"
initialStep={0}
steps={steps}
>Explanation: |
Beta Was this translation helpful? Give feedback.
The current implementation of the
Steppercomponent includes an unnecessaryonClickStepprop, which interferes with the default step navigation. Here's the problematic code:Remove the onClickStep prop to restore the default step management. The updated implementation is:
Explanation:
The onClickStep prop is intended for custom navigation behavior, but it is unnecessary for basic use cases. Omitting it allows the Stepper to rely on its built-in …