angularify / angular-semantic-ui

[WiP] AngularJS native directives for Semantic UI
http://angularify.github.io/angular-semantic-ui
MIT License
383 stars 87 forks source link

Wizard: Active property should only depend on step.selected #12

Closed okjulian closed 9 years ago

okjulian commented 10 years ago

The wizard template has the following property: active: step.selected && !step.completed. The problem with depending on step.completed is that when you are in a second step and click the title of the first step, you go to the correct tab but the header does not reflect this.

old-step2

old-step1

If we remove the step.completed check from the active property and leave it like active: step.selected, the wizard header is always active when a step is selected.

new-step2

new-step1