RadzenDatePicker doesn't Gain Focus With PopupRenderMode set to OnDemand #1080

Closed
opened 2026-01-29 17:48:40 +00:00 by claunia · 1 comment
Owner

Originally created by @uflowie on GitHub (Jan 4, 2024).

Describe the bug
When using a RadzenDatePicker with PopupRenderMode OnDemand, the datepicker doesn't correctly gain focus when selecting dates through the icon. If a different element is focused and a date is selected through the icon, the browser will scroll to the position of the previously focussed element.

To Reproduce
I have created a project with steps to reproduce here: https://github.com/uflowie/RadzenDatePickerFocusBug

Expected behavior
When selecting a date with the datepicker, the datepicker should gain focus and the browser should not scroll to unrelated elements.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: latest
Originally created by @uflowie on GitHub (Jan 4, 2024). **Describe the bug** When using a RadzenDatePicker with PopupRenderMode OnDemand, the datepicker doesn't correctly gain focus when selecting dates through the icon. If a different element is focused and a date is selected through the icon, the browser will scroll to the position of the previously focussed element. **To Reproduce** I have created a project with steps to reproduce here: https://github.com/uflowie/RadzenDatePickerFocusBug **Expected behavior** When selecting a date with the datepicker, the datepicker should gain focus and the browser should not scroll to unrelated elements. **Desktop (please complete the following information):** - OS: Windows - Browser: Chrome - Version: latest
Author
Owner

@uflowie commented on GitHub (Jan 12, 2024):

I have updated the Radzen dependency in the Repository and can still reproduce this issue with the steps outlined there.

@uflowie commented on GitHub (Jan 12, 2024): I have updated the Radzen dependency in the Repository and can still reproduce this issue with the steps outlined there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1080