I have a complex SVG diagram that has constant rendering issues in Edge (parts of the diagram flicker, disappear etc. at random intervals.) I fixed it (sort of) by continuously adding and removing 'visibility: hidden' to the parent div. This 'fixes' the layout once it breaks (but doesn't stop it from breaking again).
The hidden to visible change happens quickly enough that visually, there's no difference and the diagram doesn't disappear from the page.
My problem is that users need to click on the diagram to get further information, and click events get missed if they happen while the element has visibility: hidden set to it (even if it appears to be visible).
How do I allow clicks on an element that with 'visibility: hidden'?
Here is a fiddle: http://jsfiddle.net/kmbgp95a/
Main CSS involved:
.hidden {
visibility:hidden
}
I have tried using opacity: 0 but I still have the same issue.