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

[DateInputs] Calendar popup navigation bug

Open yanmariomenev opened this issue 3 years ago • 8 comments

Describe the bug There is a specific invisible vertical line inside the calendar popup of the DateInputs which uses the navigator and when clicking on the line it triggers the navigator to scroll the months. If the line falls over a specific date of the week it prevents it from being selected. This is also valid for the month/year view.

This issue seems to be related to the latest version of Chrome as Firefox doesn't have the issue.

chrome_n8VS4JrSSw

To Reproduce Steps to reproduce the behavior: Open the following demo: https://stackblitz.com/edit/angular-putshj?file=src%2Fapp%2Fapp.component.ts Or any DateInputs demo that utilizes the calendar plus the navigator.

yanmariomenev avatar Sep 12 '22 10:09 yanmariomenev

Just to add a bit. This problem is worse when the line falls directly over the center of dates, and it does that in certain themes. calendar-clicking

joshlupo avatar Sep 15 '22 15:09 joshlupo

It does seem like the browser has changed how CSS is being applied since it worked in a previous version of Chrome.

tbaldwinups avatar Sep 16 '22 17:09 tbaldwinups

Are there any work arounds for now? We found this one in our regression testing.

EZman1 avatar Sep 19 '22 07:09 EZman1

We found disabling fastNavigation or setting the calendarType to "classic" both resolved it, if you can afford to loose the fast navigation functionality of course.

matthewmacbeth01 avatar Sep 19 '22 09:09 matthewmacbeth01

It seems that the latest Chrome version does not handle elements with overflow: hidden; properly. What currently happens is that Chrome thinks that the user clicks on the scrollbar of the .k-calendar-navigation element... scrollbar that shouldn't be accessible at all as it is a hidden element:

calendar-bug

A temporary workaround (until we fix it officially in our Kendo Themes) is to use the following CSS code (can be seen in action in this Stackblitz example):

.k-calendar-navigation {
    z-index: 1;
}

JoomFX avatar Sep 19 '22 14:09 JoomFX

The issue is fixed in Kendo Themes.

JoomFX avatar Sep 20 '22 13:09 JoomFX

@JoomFX

how long until npm release?

destus90 avatar Sep 28 '22 07:09 destus90

The fix is already available in the dev version. The next official version will be released on 17th of October.

JoomFX avatar Sep 28 '22 10:09 JoomFX

Fix is available in Kendo Theme version 5.9.0 - https://github.com/telerik/kendo-themes/releases/tag/v5.9.0

yanmariomenev avatar Oct 20 '22 08:10 yanmariomenev