Replies: 1 comment 1 reply
-
got to the bottom of this after a lot of investigation – in case it helps anybody else in future, the problem causing graph glitching in Chrome was that opacity was being applied to the parent classes for .marker-arrowheads and .marker-vertices, and being changed on :hover. Chrome obviously doesn't like this when the graph gets large, or specifically when there are hundreds of long connector lines with vertices where the path has been changed. Chrome apparently sometimes has an issue with opacity applied to parent elements instead of child elements. Firefox is fine with it. So we fixed it by removing the opacity setting and :hover opacity from the parent classes and applying them to the equivalent child elements: .marker-vertex-group and .marker-arrowhead-group Specifically: and applied these settings instead to the child elements: Then Chrome was happy! Hope that helps someone. Ru |
Beta Was this translation helpful? Give feedback.
-
Hi,
We've recently noticed that graphs with lots of connectors/links (hundreds) are starting to glitch a bit in Chrome - elements and links appearing and disappearing as the cursor moves across the graph.
It seems that there are too many callbacks in these projects, so we’re running a lot of code, and it’s slowing the page down. Firefox seems to be dealing with it better than Chrome, and we're not seeing it.
Seems like Chrome has only started struggling in the last 2-3 weeks - perhaps a Chrome update.
I've searched and can't see any other threads about this but wondered if anyone else seen this or does anyone have any thoughts about how we could optimise it?
Thanks,
Ru
Beta Was this translation helpful? Give feedback.
All reactions