Reputation: 1020
Initially the diagram has been rendered, but when click/dragged on the diagram, the boxes(rectangles and ports ) is being hidden in firefox. But it works as expected in Chrome.
Could you please tell me what could possibly be wrong.
Tech stack used is: Angularjs Bootstrap
Upvotes: 0
Views: 326
Reputation: 21
In my case that bug was happen when scale my paper (for zoom functionality).
I quickly fix it doing a little translate of 1px with a timeout after doing the scale
paper.scale(scaleValue);
...
setTimeout(function(){
paper.translate(paper.translate().tx + 1, paper.translate().ty + 1);
}, 1);
Upvotes: 1