ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
68 stars 22 forks source link

[Bug] connecting UML elements with each other does not work in lower right corner of fireforx #87

Open TobiasPr opened 4 years ago

TobiasPr commented 4 years ago

Connecting UML elements does not work in Firefox in the lower right corner of the drawing area -> pointer event coordinates which should be relative to viewports, are incorrect -> wrong target port of connection is calculated

TobiasPr commented 4 years ago

The bug is not directly connected to this feature, rather how svgs are drawn in the two browsers. In firefox the svgs of the UML elements are much bigger than the actual element, see screenshots. Because of that, the position of the element is calculated "wrong" and the wrong connection port is determined. Need to investigate more on this topic svg_in_firefox svg_in_chrome