treetimeline bug by drag-create

Hello! I think, that found bug.

Description: when page with scheduler has scroll (i.e. we have a large number of units or simply timelineView has big dy), and we are in treetimeline mode, then impossible to add events to bottom units.

Reproducing:
let’s change a little samples\06_timeline\03_tree.html. Found this rows:

scheduler.createTimelineView({ ... dy:60 ... });

replace by

scheduler.createTimelineView({ ... dy:150 ... });

Then scroll to bottom page and try to add event to last unit. You can see, the page is automatically scroll to top, and event added to other (not last) unit.

I think that right behavior when adding event to some unit - do not automatically scroll anyway or it must be possilble to cancel automatic scroll.

Hello,

Thank you for your feedback!
This is a known issue which was hot fixed, please update your timeline source codes from the Known issues page.

Best regards,
Ilya

Okay. Thanks for answer.

But there is a new bug.
Please, change this rows in samples\06_timeline\03_tree.html

scheduler.createTimelineView({ ... dy:150 });

to

scheduler.createTimelineView({ ... dy:60 });

Now, try to drag some event to unit Dian Fossey (bottommost unit on page). When you placed event to this unit, please, don’t release mouse and move mouse down outward the scheduler. You can see the error. Of course, I know, it’s because it means we try to put event to nowhere. But this situation was happened with me at random, I don’t going to move event to nowhere, I just going to wait some seconds, thinking of future event’s placement. Вesides, position of cursor and position of event’s div do not match in this case, so it’s difficult to understand what happened the common user, I think.


Already fixed in dev. version.
Fix will be included in the next official release.