onNext is called on initialization
Wizard's onNext prop is called on the component's mount and not only when firing a next event.
It shouldn't!
This issue is stale because it has been open 30 days with no activity. Remove no-issue-activity label or comment or this will be closed in 5 days.
Looks like a dead repo to me. Even the bot is months too late.
This issue is stale because it has been open 30 days with no activity.
Wizard's onNext prop is called on the component's mount and not only when firing a next event.
in my case, <WithWizard/> is a UI Component . u can get a ref from Button and trigger it Manually, even u can set css display: none to hidden UI ,
<WithWizard render={({ next, previous, step, steps }) => ( <div className="buttons_back"> {steps.indexOf(step) > 0 && ( <Button ref={buttonRef} className="btn-fluid btn-secondary" onClick={previous}> back </Button> )} )} />
set function :() => buttonRef.current.props.onClick() to call
This issue is stale because it has been open 30 days with no activity.
onNext probably shouldn't be called on initial render. That'd solve for https://github.com/americanexpress/react-albus/issues/33.
this will be solved in the v3 release. work is being done on the 3.x branch
This issue is stale because it has been open 30 days with no activity.