If you tab through the input, or click it, then click off, the active class goes away.