search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Calendar hover color remains active when moving mouse between calendars

Asked by Dave
2 months ago.

Hello,

I'm using DayPilot version 2020.1.3734.1, and am seeing an odd behavior.

We have a page with multiple day view calendars on the screen. When the mouse is used to hover over one calendar, that calendar properly shows an grey overlay. If the mouse is quickly moved to the next calendar, the grey overlay stays on the previous calendar and also on the now hovered calendar. If the mouse is moved slowly, the proper behavior displays where the originally hovered calendar overlay disappears and the now hovered calendar shows the overlay. Any thoughts?

Comment posted by Dan Letecky [DayPilot]
2 months ago.

Unfortunately, the Calendar doesn't support dragging events between two instances. You can drag the shadow to another instance but that's just a side effect of the current implementation. In addition to the irregularity you mention, it's not possible to process the drop event properly.

Depending on your scenario, there are two options:

1. You can use a Calendar with custom columns (https://doc.daypilot.org/calendar/resources-view/). You can define columns that will display different resources or columns that will display different dates for the same resource.

2. You can also check the Scheduler which supports drag and drop between two instances. The Scheduler allows displaying multiple resources at once and if that's the goal you can drag events between resources within a single instance.

Comment posted by Dave
2 months ago.

Hi Dan, thank you for the reply. I may not have explained the issue well enough. The issue is not drag and drop related - it is simply mouse hovering related between two calendars. If hovering over one calendar, and then moving quickly to another calendar, the first calendar remains highlighted when it should be "de-highlighted".

Best,
Dave

Comment posted by Dan Letecky [DayPilot]
2 months ago.

Hi Dave,

Sorry - do you mean the crosshair (https://doc.daypilot.org/calendar/crosshair/)?

Comment posted by Dave
2 months ago.

Hi Dan,

Yes, correct. In this case Crosshair="Full" for both Day View calendars and both remain highlighted when moving the mouse between them.

Dave

Comment posted by Dan Letecky [DayPilot]
2 months ago.

Thanks for the update - please let me check it!

Answer posted by Dan Letecky [DayPilot]
2 months ago.

Hi Dave,

This issue should be fixed now in the latest sandbox build (2021.1.3780):
https://aspnet.daypilot.org/sandbox/

Please let me know if the problem persists.

Comment posted by Dave
2 months ago.

Hi Dan,

Thank you, I downloaded and tested and it indeed looks fixed. How long before this would be in next production build?

Thanks,
Dave

Comment posted by Dan Letecky [DayPilot]
2 months ago.

Hi Dave,

It's now included in the latest release:
https://aspnet.daypilot.org/daypilot-pro-for-asp-net-webforms-2021-1-3782/

Comment posted by Dave
2 months ago.

Hi Dan,

I have a follow up with this issue we've been discussing. Our QA Group has reviewed the new changes and found some additional related issues. The issues occur when you have multiple rows of calendars.

1. Only the first row calendars have the entire calendar schedule greyed when active. If there are calendars below, all of the other rows will only grey out the calendar title bar.

While the full grey for the first row gets cleared once you move onto another calendar, the second row does not properly become grey and the third one onwards (or any row you have to scroll to start to see) doesn't at all.

2. Also, when hovering over a row in 2 row (or greater), the row is not highlighted either.

I'm happy to send you screen shots if helpful.

Best,
Dave

New Reply
This reply is
Your name (optional):