-
Notifications
You must be signed in to change notification settings - Fork 106
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
Incorrect hover behavior of step indicators after the completion step has been visited #182
Comments
From the implementation perspective, fixing this bug is not obvious and easy. It seems that I can only suggest splitting This bug seems to me a blocker for the next release. |
|
@earshinov do you think it makes sense to add an additional check to the |
@madoar , This change makes perfect sense, because the user should not navigate around in a complete wizard. Also, I believe it will fix this issue. One downside is that a decision whether navigation should be allowed or not, will be made in some way or another in 3 (!) components:
It makes responsibility scattered. Ideally, only NavigationMode should be responsible. Having said that, from the practical standpoint it is better to make the change, cover it with tests, and apply our perfectionism and refactoring skills some time later. |
I'm not sure we can move the navigation responsibility to only one class:
I'm not sure whether my suggested quick bug fix is really as easy at it seems. After thinking about this a bit more I discovered that this quick fix would lead to undesired behavior in case of a |
Let's start with a unit test |
Good idea! |
Scenario:
The issue can be reproduced on the demo page:
https://angular-archwizard-css-classes.stackblitz.io/
Pulled out from #124 (comment)
The text was updated successfully, but these errors were encountered: