bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Cannot drag between two schedulers used in a same Lightning Web Component #2682

Open bmblb opened 3 years ago

bmblb commented 3 years ago

Reported here: https://www.bryntum.com/forum/viewtopic.php?f=44&t=1723

Issue is that when we drag event out of the first scheduler it gets appended to the body element. It should not get past LWC root element. изображение

bmblb commented 3 years ago

Applying this patch to DragBase#onPaint doesn't really help. Code does not throw exceptions anymore, but drag also doesn't finish successfully.

dragWithin                                : constrainDragToTimeline ? null : DomHelper.getRootElement(client.element),