telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
463 stars 213 forks source link

[Stepper] Invalid connection line rendering when one step is rendered #4334

Open yanmariomenev opened 2 weeks ago

yanmariomenev commented 2 weeks ago

Describe the bug

When only one step is provided to the component, it also draws a line to a nonexistent second step, which shouldn't happen. For example, this is handled well in Kendo UI for jQuery:

https://dojo.telerik.com/IbIgiFOd

Screenshot 2024-06-25 at 8 15 48

To Reproduce

Provide only one step to the component or open the following example: https://codesandbox.io/p/sandbox/clever-danilo-qlklv8?file=%2Fsrc%2Fapp%2Fapp.component.ts%3A15%2C5-15%2C22

Screenshot

870fb9d3-cb10-46df-9428-34500226ff23