Start new region on top of existing region #4305
Replies: 1 comment
|
If the existing region does not need click or resize interaction, let pointer events pass through it: const locked = regions.addRegion({
start: 10,
end: 20,
drag: false,
resize: false,
})
locked.element.style.pointerEvents = 'none'A drag that begins over If you still need region clicks, toggle The relevant behavior is in the region element's drag stream and the wrapper's drag-selection stream: regions.ts. |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to click-and-drag to create a new region on top of an existing region that cannot be dragged? I can click outside and drag inwards to create overlapping regions, or somehow move the existing region out of its position and back, but I haven't been able to figure out how to click within the existing region then drag, even though the clicking propogates through.
Any advice? Thank you!
All reactions