Sometimes text field component which is rendered from server, does not trigger attached onFocus event handler. Reason being, the text field component which is rendered on server side, is not hydrated on the client side yet and user tries to focus on the component before hand.