Cool idea!!
At first I was confused y the text field kept deselecting, but it was because I was instinctively pressing enter which deselects the text box for some reason