Render component after keyboard closes or listen to keyboard close event in react app in cordova android

I am migrating a ‘work-in-progress’ react.js application to an android app using cordova.
all seems to work fine except for a component that doesnt render itself peoperly when the keyboard closes, the component generally looks like this.
enter image description here

Now when you click on an input and close it the view re renders just fine:
enter image description here

But once you fill it and close the keyboard the component doesnt re render itself:
enter image description here
enter image description here

the component just gets stuck like that, the easy solution would obviously be to “force render” by setting the state again, the issue is that I cant seem to find a way to listen to keyboard changes on this react-cordova app, also why would the component re render itself when the form is empty but not when its filled?