Won't Fix
Last Updated: 19 May 2026 06:24 by ADMIN
Sankar Kumar
Created on: 28 Oct 2024 16:56
Category: DateRangePicker
Type: Bug Report
2
Popup closes if the newly selected start date is before the current end date
When the DateRangePicker has value, opening the popup to select a new start date results in automatically closing the popup if the new start date is before the end date. Thus, the user cannot easily change the end date.

Up to 6.0.2 the popup remained opened regardless of the selected start date.

Current vs previous behavior: https://app.screencast.com/4b0iAZsC47SSe.
4 comments
ADMIN
Dimo
Posted on: 19 May 2026 06:24

Hello everyone,

You can cancel the DateRangePicker OnClose event in order to keep the component open in specific scenarios. Here is an example that relies on the StartValueChanged event. You can use a similar approach for EndValueChanged.

<TelerikDateRangePicker StartValue="@StartDate"
                        StartValueChanged="@((DateTime newStartValue) => StartValueChanged(newStartValue))"
                        @bind-EndValue="@EndDate"
                        OnClose="@OnDateRangeClose" />

@code {
    private DateTime StartDate { get; set; } = DateTime.Now.AddDays(-3);
    private DateTime EndDate { get; set; } = DateTime.Now;

    private bool ShouldCancelClose { get; set; }

    private void StartValueChanged(DateTime newStartValue)
    {
        if (newStartValue < StartDate)
        {
            ShouldCancelClose = true;
        }

        StartDate = newStartValue;
    }

    private void OnDateRangeClose(DateRangePickerCloseEventArgs args)
    {
        if (ShouldCancelClose)
        {
            ShouldCancelClose = false;
            args.IsCancelled = true;
        }
    }
}

You can also vote and follow the feature request to revise the DateRangePicker UX. @James, I voted on your behalf.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

James
Posted on: 15 May 2026 15:05
agree with this.  Previously it would stay open and now it closes and causes the user to have to click more.  We have already received feedback from our users on how they don't like this.  It always stayed open previously.
Andrew
Posted on: 12 Feb 2025 21:08
I do not currently have this problem as I'm not using this component, however after watching the video, I agree that the 6.0.2 behavior is much more user friendly than the current "fixed" behavior. I believe a better user experience should trump a flawed design that works as the developers intended. Just my 2 cents :). I have no dog in the fight, but wanted to chime in. Thanks!
ADMIN
Nadezhda Tacheva
Posted on: 20 Nov 2024 15:03

Hi Sankar Kumar,

After an additional review from the development team, we've confirmed that this behavior is not a regression - the DateRangePicker is intended to bahave like so. By design, the calendar popup should close after a valid selection is made. Selecting a new start date that is before the current end date effectively results in a valid date range selection, so the popup closes.

That said, I have marked the item with a "Won't fix" status as it is not a valid bug/regression. In a future product version, we may consider providing an option to keep the popup open in this scenario. This will be tracked as part of the following item: Review DateRangePicker selection UX.

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.