react icon indicating copy to clipboard operation
react copied to clipboard

Drag and Drop not working with connector enabled

Open amit08255 opened this issue 2 years ago • 1 comments

Drag and drop not working with connector annotation enabled. Can I add a class to div that SVG for connector annotations? Or can I add z-index to -1 to the connector div container? It works after setting z-index to -1.

amit08255 avatar May 05 '23 09:05 amit08255

  1. There is css option: pointer-events: none; It makes element transparent to mouse events. It should be added to the layer containing annotations. Source code changes required.
  2. You can just place annotations into background using zOrderType = ZOrderType.Background and make elements background semi-transparent.

BasicPrimitives avatar May 09 '23 02:05 BasicPrimitives