Why does deleting the last character in the input unfocus the input?

This is so maddening! Why would you make it do this?