Unfortunately, it's no longer maintained [0], plenty of unfixed issues. You could try a recent fork [1] :
[0] https://github.com/twitter/typeahead.js/issues/1424
[1] https://github.com/corejavascript/typeahead.js.