Sometimes but not always, typeahead doesn't seem to initialize when "autofocus" is present for an input element. It works intermittently when autofocus is present in an input element (haven't tested for other element types). For example:
I have experienced similar behaviour. When there is autofocus on input, typeahead window get hidden. When the input looses focus, eg clicking anywhere else on page, everything works fine.
Sometimes but not always, typeahead doesn't seem to initialize when "autofocus" is present for an input element. It works intermittently when autofocus is present in an input element (haven't tested for other element types). For example:
HTML
JS
When I remove "autofocus" from the input element, typeahead works every time. Not sure if there's a conflict there.