Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
georgi-sla opened this issue Oct 10, 2024 · 0 comments

Comments

@georgi-sla
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant