americanexpress / react-albus

✨ React component library for building declarative multi-step flows.
Apache License 2.0
1.1k stars 89 forks source link

Fix: Update previous method to work with non-linear steps #82

Closed leibowitz closed 3 years ago

leibowitz commented 4 years ago

Fix https://github.com/americanexpress/react-albus/issues/57

Using history.goBack in previous relies on the assumption that the previously visited step was before the current one. This assumption breaks when steps are non-linear, and a user can jump directly to any following or previous step.

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

jayeshchoudhary commented 2 years ago

these changes are not released yet :(