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

Misalignment issues on different screen resolutions

Open mbechev opened this issue 2 years ago • 3 comments

Describe the bug The Scheduler has some misalignment issues caused by different screen resolutions (reproduced on mobile devices as well).

Month view issue (snapshot taken from the site): image

Week view all-day slot misalignment (snapshot taken from the site): image

To Reproduce Zoom the browser https://stackblitz.com/edit/angular-q4aaeu?file=src%2Fapp%2Fapp.component.ts

mbechev avatar Aug 15 '22 10:08 mbechev

I face the same issue. I noticed that it happens as soon as I set a height via CSS to the <kendo-scheduler>

HaberkornJonas avatar Aug 31 '22 10:08 HaberkornJonas

Please also note that there is another misalignment issue when having multiple lines in header, as you can see below:

image

<kendo-scheduler
    scrollTime="08:00"
    [weekStart]="weekStart"
    [kendoSchedulerBinding]="events"
    [selectedDate]="selectedDate"
    [selectedViewIndex]="selectedViewIndex"
    [showWorkHours]="true"
  >
    <ng-template kendoSchedulerDateHeaderTemplate let-date="date">
      <span>{{ date | kendoDate:'EEEE' }}</span>
      <br>
      <span>{{ date | kendoDate:'dd.MM.yyyy' }}</span>
    </ng-template>
    <kendo-scheduler-day-view> </kendo-scheduler-day-view>
    <kendo-scheduler-week-view> </kendo-scheduler-week-view>
    <kendo-scheduler-month-view> </kendo-scheduler-month-view>
    <kendo-scheduler-timeline-view> </kendo-scheduler-timeline-view>
    <kendo-scheduler-agenda-view> </kendo-scheduler-agenda-view>
  </kendo-scheduler>

In my opinion this issue should have higher severity.

Also, none of these issues are happening on the Kendo UI React library. Perhaps the structure of the Scheduler is different? If so, it might be a good idea to build Kendo UI libraries atomically to avoid such surprises.

Leafgard avatar Sep 01 '22 06:09 Leafgard

An example of the last reported issue:

https://stackblitz.com/edit/angular-cfkeca-zwqudl

mbechev avatar Sep 01 '22 06:09 mbechev

Fix available in latest dev version.

ipeshev avatar Oct 24 '22 13:10 ipeshev

Fix available in v4.3.5 and above of @progress/kendo-angular-scheduler.

stnikolova avatar Jan 10 '23 12:01 stnikolova