In the first example: doesn't pushing the button while typing cause the textfield lose focus? What's the point of the typing in the example?