fix(typeahead): don't show matches if an element is not focused

Closes #964