Page 1 of 1

Calendar Year View: Error when clicking on a Day

Posted: Fri May 12, 2023 2:09 pm
by b.wust

Hello Bryntum Team,

I found an Error in the Calendar Year View. When you click on a Day
with Events normally a little Window with the Events opens.

When you have an Event on the last Colum from a Month (see attached Picture)
and you click on the Day nothing happens when there is an Event.

If there is no Event the Dayview opens correctly.

It's reproducible in your Online Examples, for Example the Print demo:

https://bryntum.com/products/calendar/examples/print/

Just add under modes the marked Code and some Events int the marked Fields
and try it out.

bryntum.png
bryntum.png (198.74 KiB) Viewed 410 times

Greetings, Bastian


Re: Calendar Year View: Error when clicking on a Day

Posted: Fri May 12, 2023 3:08 pm
by Animal

Yes, is issue is when it's in the other month part. I will take a look.


Re: Calendar Year View: Error when clicking on a Day

Posted: Fri May 12, 2023 3:14 pm
by Animal

Yes, whether to actually decide the cell as overflowing is showOverflow = !isOtherMonth && eventCount So not if it's in the otter month

This actually is a good design decision. You have no events in July. The UI should be able to tell you that at a glance. You cannot tell that at a glance with this:

Screenshot 2023-05-12 at 15.12.36.png
Screenshot 2023-05-12 at 15.12.36.png (33.39 KiB) Viewed 398 times

To be consistent, there should be no badge there either. I will fix that as the bug.


Re: Calendar Year View: Error when clicking on a Day

Posted: Fri May 12, 2023 3:15 pm
by Animal

Re: Calendar Year View: Error when clicking on a Day

Posted: Tue May 30, 2023 12:05 pm
by b.wust

Hi Animal,

there is still a Problem with the Year View after the Update to Version 5.3.6.

It is still reproducible in your Online Examples:

https://bryntum.com/products/calendar/examples/print/

bryntum1.png
bryntum1.png (146.39 KiB) Viewed 314 times

Just add under modes the marked Code and add for Example an Event on the 5th April 2020.

Greetings, Bastian


Re: Calendar Year View: Error when clicking on a Day

Posted: Tue May 30, 2023 2:48 pm
by Animal

Those are "other month" cells. You see it's under "March" But those two cells are in April.


Re: Calendar Year View: Error when clicking on a Day

Posted: Tue May 30, 2023 2:56 pm
by b.wust

Yes i know there are in April, but shown under March.

The Problem is that when i add an Event at the 5th April, it is not possible to click on the Date anymore. For Days without an Event
it is working fine.

I don't see any Reason why this click should not work


Re: Calendar Year View: Error when clicking on a Day

Posted: Tue May 30, 2023 2:58 pm
by Animal

I see what you mean. It doesn't navigate. This is fixed as part of https://github.com/bryntum/support/issues/6871