In typeahead 0.11.1, which is the released version from 12/9/15:
Find the following function and comment out the autocomplete line, as shown, and add the following line, which mimics the behavior of the escape key that $e.preventDefault(); correct events, but should have $e.preventDefault(); to prevent the browser from intercepting the tab key bypassing the type logic.
_onTabKeyed: function onTabKeyed(type, $e) { var $selectable; if ($selectable = this.menu.getActiveSelectable()) { this.select($selectable) && $e.preventDefault(); } else if ($selectable = this.menu.getTopSelectable()) { // this.autocomplete($selectable) && $e.preventDefault(); // <-- Comment out this.close() && $e.preventDefault(); // <--- Add this } },
Hopefully they will make it customizable in an upcoming release.
source share