Closed saalaus closed 5 years ago
What versions of rete and rete-connection-plugin are you using?
Final version
Cannot reproduce on https://codepen.io/Ni55aN/pen/xzgQYq Can you share an example on codesandbox/jsfiddle?
if i use 0.2.1 version connection plugin,then everything is fine
Does the
.connection {
width: auto;
height: auto;
}
fix it?
yes, thanks
It's quite strange behavior. The SVG container for each connection takes up some space and interferes with a click on comments (comment-plugin).
The solution was to reduce its sizes to 1px, but then on the webkit the internal paths were displayed incorrectly. The next solution is to increase the size to 12px, and then everything was displayed correctly.
Can you show what styles svg accepts for connections in devtools?
Is there the same issue at https://codepen.io/Ni55aN/pen/xzgQYq from your side?
No
The next solution is to increase the size to 12px, and then everything was displayed correctly.
https://github.com/retejs/connection-plugin/commit/ce25976913c9fec679403cace4fddf6730f08cab
I have a connection problem. What caused this to happen?
I noticed that everything is fine in the browser Firefox, and in a browser Google Chrome like this: