Closed slhasadi closed 1 month ago
This is an issue with how you embed bpmn-js into your React app. Cf. https://github.com/bpmn-io/react-bpmn for a simple example that does this properly, via refs.
This is an issue with how you embed bpmn-js into your React app. Cf. https://github.com/bpmn-io/react-bpmn for a simple example that does this properly, via refs.
thanks for your answer but I have some custom components and I used bpmn modeler but this repo just used bpmn viewer
Describe the Bug
hi i use the bpmn modeler with react js and i have a problem with this when i want to save changed xml It shows me an error cannot read properties of undefinde (reading 'saveXML')
i found when i used setState in modeler.on("element.click") function this error has show and when unused this its hasnt error
Steps to Reproduce
Expected Behavior
Environment