I use angular material stepper. I am trying to keep the current step while changing between horizontal stepper and vertical stepper. I'm using selectedIndex but it's not working. Link to stackblitz demo. Help is appreciated
this.myStepper.linear = false;
this.myStepper.selectedIndex = index;
setTimeout(() => {
this.myStepper.linear = true;
}, 300);