I am trying to target ref on an element inside my child component, but still always return null, in the pic I put some condition on the component, I have tried to re