Visible stepper indicator outer circle/border when it is the current step

1 Answer 95 Views
Stepper Styling
lahiru
Top achievements
Rank 1
lahiru asked on 17 Aug 2022, 01:46 PM | edited on 17 Aug 2022, 01:49 PM

 

I need to visible this step outer circle/border when it is the current step not only focusing/clicking on it,  Im using next button to go future steps

1 Answer, 1 is accepted

Sort by
0
Accepted
Yanmario
Telerik team
answered on 22 Aug 2022, 08:43 AM

Hi lahiru,

Indeed when the step is clicked the element is getting focused and that applies the border from the screenshot. When the developer programmatically moves a step then no events are being fired, thus the border isn't applied because another element holds the focus(button). What can be done in such a scenario is to set the focus on the current step when the user clicks the button for the next step as demonstrated in the following example:

https://stackblitz.com/edit/angular-g2snfm?file=src%2Fapp%2Fapp.component.ts

I hope this helps.

Regards,
Yanmario
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Tags
Stepper Styling
Asked by
lahiru
Top achievements
Rank 1
Answers by
Yanmario
Telerik team
Share this question
or