Hi,
I am using bpmn-js (v 7.4.1)
I am using this code to fit diagram zoom
this.modeler.get("canvas").zoom("fit-viewport");
This works correctly on Chrome, but throws this exception on Firefox
Uncaught TypeError: SVGMatrix.scale: Argument 1 is not a finite floating-point value.
viewbox Canvas.js:825
_changeViewbox Canvas.js:713
viewbox Canvas.js:821
_fitViewport Canvas.js:949
zoom Canvas.js:883
registerModelerEventListeners workflow-editor.component.ts:288
loadDiagram workflow-editor.component.ts:232
configureWidget workflow-editor.component.ts:188
Any idea how can I fix this error on Firefox ?