kendo-angular
kendo-angular copied to clipboard
[Calendar] Error is being thrown when clicking on a week number with an enabled date range
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
- Create a Calendar component.
- Enable the weekNumber option.
- Set a date range.
- 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