vscode-wardley-maps icon indicating copy to clipboard operation
vscode-wardley-maps copied to clipboard

Often unable to "drop" node or label text after dragging

Open jaxley opened this issue 5 years ago • 2 comments

I can add a bunch of components to a diagram and then click and drag them to the locations I want them. Initially, drag and drop works fine, but more often than not, the app gets into a state where a node is selected and will move with the mouse, but I cannot drop it when I release the mouse button.

It doesn't happen all the time, but seems to get worse as you have the map view open.

I've tried hitting escape to de-select the node. That doesn't work I've tried double clicking to get it to drop. That works in rare occasions I've tried changing focus to the map text and back to the map view. That doesn't work I've tried saving the text map view to force refresh of the map view. That doesn't work

I've tried saving the text, then closing the map view and re-opening it. That seems to be most consistent to recover as a workaround.

jaxley avatar Nov 12 '20 18:11 jaxley

I've seen this as well. It seems to be the distance you move the node:

  • If you move from Genesis to Commodity it wont drop, but if you move back to Genesis or Custom made, you can drop and then click-drag to commodity after than.
  • Same with the Value Chain axis, if you move all the way down (form the top) you need to 'stop on the way'.

RichieRamsden avatar Feb 24 '21 11:02 RichieRamsden

Added in the ability to escape off. When getting stuck - I'll continue to investigate this.

damonsk avatar May 16 '21 17:05 damonsk