line over steps

1 Answer 42 Views
Stepper
Mario
Top achievements
Rank 1
Mario asked on 23 Oct 2023, 10:02 AM

Good morning, I have the problem you see in the two images above, Is there anyone with the same problem who maybe solved it?
The problem appeared after updating from version 2022.2.802 to version 2023.2.829.
The two steppers are configured as follows:


@(Html.Kendo().Stepper()
    .Name("stepper")

        .Linear(false)
    .Orientation(StepperOrientationType.Horizontal)
    .Steps(s =>
    {
        for (int i = 0; i < (Model.ClaimStatusFlows.Count()); i++) {

            if (Model.Claim.ZQwaFlowStatus == Model.ClaimStatusFlows[i].IdQda)
            { selected = true;
                enabled = true;
            }
            else { selected = false; enabled = false;
            }
            s.Add().Label(Model.ClaimStatusFlows[i].Code).Selected(selected).Enabled(enabled);
        }

    }))


@(Html.Kendo().Stepper()
                                .Name("act_status")
                                .Indicator(false)
                                .Orientation(StepperOrientationType.Horizontal)
                                .Steps(s =>
                                {
                                    for (int i = 0; i < Model.ListActionStatus.Count(); i++)
                                    {
                                        if (Model.actions_status == Model.ListActionStatus[i].StatusValue)
                                        {
                                            s.Add().Label(Localizer[Model.ListActionStatus[i].StatusName].Value.ToString()).Selected(true).Enabled(true);
                                        }
                                        else
                                        {
                                            s.Add().Label(Localizer[Model.ListActionStatus[i].StatusName].Value.ToString()).Enabled(false);
                                        }
                                    }
                                })
                        )

and as additional css there are these two things:

    .k-step-text {
        max-width: 150% !important;
    }

    .k-step-label {
        max-width: 150% !important;
    }
I also tried to force the z-index of the k-step-indicators, but to no avail as it remains exactly the same.

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 25 Oct 2023, 04:05 PM

Hello Mario,

Since you have submitted the same query as a support ticket, and I have already answered you in the support thread, I will post the same answer here in case someone else has the same question:

Would you try adding the following CSS style, and let me know how the appearance changes at your end?

.k-stepper .k-progressbar {
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

If the issue persists, please check if there are any additional CSS styles related to the Stepper.

Also, feel free to modify the attached sample application based on your code to replicate the issue and send it back to me for review. I will test it locally and follow up with a better suggestion.

 

Regards,
Mihaela
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Tags
Stepper
Asked by
Mario
Top achievements
Rank 1
Answers by
Mihaela
Telerik team
Share this question
or