I understand that it may be difficult to combine the event drag select and drag create functionality by default since they use the same interaction.
I attempted to switch between the features at runtime on keypress, but didn't succeed in doing so, and imagine that it isn't supported?
Here is a snippet of what I was trying to achieve:
handleKeyUp(e) {
if (e.key === 'Meta' || e.key === 'Control') {
this.schedulerEngine.features.eventDragSelect = false;
this.schedulerEngine.features.eventDragCreate = true;
}
}
handleKeyDown(e) {
if (e.key === 'Meta' || e.key === 'Control') {
this.schedulerEngine.features.eventDragSelect = true;
this.schedulerEngine.features.eventDragCreate = false;
}
}