typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

Click on dropdown item misbehaves in IE

Open Svakinn opened this issue 12 years ago • 2 comments

There seems to be a problem with internet explorer (at least IE 11) when user clicks on item in the dropdown list. What happens in Firefox and Chrome is that the item clicked item value is set in the input field and the dropdown closes. However in IE, the item is set in the input field but the dropdown is reopened. I also noticed that in this case a 'change' event is fired with the data parameter undefined (probably the cause of this misbehaviour). When you click the item in the second dropdown it finally behaves correctly : closes without reopening.

I would categorize this as a critical bug that needs immediate attention. Easy enough to verify if you have IE 11 and go to the demo page: http://twitter.github.io/typeahead.js/examples/

Svakinn avatar Dec 12 '13 13:12 Svakinn

Can anyone confirm that the fix proposed in #557 resolves this issue?

jharding avatar Dec 27 '13 04:12 jharding

I can confirm this is now fixed in integration-0.10.0.

jharding avatar Dec 27 '13 20:12 jharding