Events change height after click when recurrence enabled and event_dy full (timeline view)


#1

Hi,

My events change height after click when recurrence is enabled and the timeline uses the event_dy: full setting. The inline style indicates the height is returning NaN which seems to be correct (“correct” as “by looking at your code”):

if (!ev._inner && this.event_dy == "full") {
	hb=(hb+2)*(ev._count-sorder)-2;
}

That’s the scheduler.render_timeline_event function. Both ev._count and sorder (which is ev._sorder) are undefined. Why is this?

Here is an example: https://snippet.dhtmlx.com/705r9qlj

Steps to reproduce:

  1. Click on an event

Result:
Event changes height because of a wrong CSS rule

Expected result:
Event still the same height (i.e. ‘full’)

Am I missing something or is this a bug? Thank you.


#2

Hi @fxfn ,

It looks like a bug on our end(or some unexpected behavior), thank you for noticing it!
I sent it to our dev team, and they will research this issue. I will post any updates on this thread.

Kind regards,


#3

Hi @Siarhei,

Some workaround would be greatly appreciated.

This is quite inconvenient as it actually creates a new event instead of editing an existing one, so if you don’t pay attention & click ok in the dialog/lightbox it submits and then you have to manually delete it (which does happen, sadly).

Thanks!


#4

Hi @fxfn ,

Unfortunately, I can’t provide any workaround, as the issue is quite complicated and connected with creating the recurring event with the addEventMethod.

The dev team works on it and I will post any updates on this thread.

Kind regards,