Once React assigns the input DOM node to inputRef.current, an event handler can call the node's focus() method.