kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

[Calendar] Error is being thrown when clicking on a week number with an enabled date range

Open georgi-sla opened this issue 4 months ago • 0 comments

Description

Currently, when the weekNumber option of the Calendar is set to true and a specific date range is enabled, a click on the week number of a week that is not entirely shown results in a console error, and the last day of the next week is focused.

Steps To Reproduce

  1. Create a Calendar component.
  2. Enable the weekNumber option.
  3. Set a date range.
  4. Click on the week number of a week that is not fully rendered.

Please check out the following StackBlitz demo: https://stackblitz.com/edit/angular-aevpjm

Screenshots or video

No response

Actual Behavior

Setting a date range in such a manner that not all of the days of a specific week are displayed and clicking on the week number of such a week leads to a console error and the focus is shifted to the last day of the next week.

Expected Behavior

Clicking on any week number should not lead to a console error.

Browser

All

Browser version

latest

OS type

No response

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

georgi-sla avatar Oct 10 '24 06:10 georgi-sla