Use componentDidUpdate to re-focus search box