I was trying to access on of my dom elements using getElementByID
, in componentDidMount
Lifecycle hook in react. But it always gives null
.
I have below component architecture.
app
- modeler(child1)
- properties panel(child2)
Now I need to access input field within properties panel using getElementByID
. This properties panel element is based on third party Camunda properties panel.