Fabric.Cashmere
Fabric.Cashmere copied to clipboard
selectedTabChange emitting twice on initial load of hc-tab-set
Summary
selectedTabChange is being emitted twice on the initial load of hc-tab-set. I was able to reproduce using the Cashmere library.
Reproduction
Steps to reproduce:
- Set up a hc-tab-set with an action when selectedTabChange is emitted
- When selectedTabChanged emitted take an action (when I reproduced in the Cashmere library I added and alert to tabs-horizontal-example.component.ts)
- You will see that the action is taken twice.
Stackblitz reproduction (click the "Edit on Stackblitz" link on a component example and fork the template):
https://stackblitz.com/edit/angular-71wgdt?file=src%2Fapp%2Ftabs-horizontal%2Ftabs-horizontal-example.component.ts