you can use the setstate() call for the button, use it's callback to trigger the blur:

this.setstate({ somebuttonstate: bool }, () => blurinput());

after the button modifies the state then it will call the blurinput() method. in there, do some minor javascript to cause the blur, ie.,

blurinput = () => {

then should do it, from the text of your question. should be noted it would be synchronous not asynchronous, if you do it an order.

Related Query

More Query from same tag