I have the following code that puts focus on a canvas element, I would like to achieve a behavior where not only the focus is set to the appropriate element, but the camera(canvas) is moved to the selected element
const selectedTask = bpmnViewerRef.current.get('elementRegistry').get('Activity_1ycb51d')
bpmnViewerRef.current.get('selection').select(selectedTask)
bpmnViewerRef.current.get('canvas').zoom(1.0, selectedTask)