Closed saracq closed 3 years ago
This happened to me as well. For whatever reason, it was caused by having duplicate element IDs somewhere else in the application. Try running document.querySelectorAll('[id]')
to see if you accidentally assigned the same id
attribute to two or more elements somewhere on the page.
Hi @rvanasa, thanks for your suggestion! Unfortunately this not solve my problem, I don't have multiple elements with the same id on this page.
@saracq do you have a public example where this issue can be reproduced?
This happened to me again for a different (unknown) reason, and I was able to fix it with the following CSS:
.connection {
position: static;
}
@saracq, hopefully this works for you in the short term. If static positioning doesn't break compatibility with other browsers, the problem could also be fixed by removing this line in src/view/connection.ts
.
@Ni55aN, sorry for the delay in replying. Unfortunatelly I don't have a public example, nevertheless the solution proposed by @rvanasa works for me! Thank you so much for your help @rvanasa!
Since some days, I have problems with the rendering of connections in Chrome when my screen has a zoom of 125% (recommended by Windows). The connections are no longer centered in the sockets and, zooming rete container using the mouse wheel, some lines totally disappear. This happens even in a particular environment, where the versions of rete libraries were set 6 months ago and where I'm sure this behaviour did not happen before, so I think that the cause is something relating to Chrome. Using Firefox all works fine indeed. You can see an example below with same zoom. Chrome Firefox The versions I use are the following
Any ideas on how to solve this? Thanks!