-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Typeahead broken with angular 1.3 #2474
Comments
Yes, we are aware of this. The fix would be to revert this commit: 3111501 |
Great, thank you! |
Had you already time, to give it a shot? |
Hi, its fixed. Sorry for failing the build. On Mon, Jul 21, 2014 at 7:55 PM, Hubert Hölzl [email protected]
|
Sorry, it failed again. this time to do with typeahead tests. On Tue, Jul 22, 2014 at 9:07 AM, Henry Neo [email protected] wrote:
|
If I can help you with anything, let me know! |
I think the whole thing is also related to #2293 |
yeah maybe.. but to be honest, I am new to these pull issues and On Thu, Jul 24, 2014 at 6:08 PM, Hubert Hölzl [email protected]
|
Is there anything new about this issue? |
Sorry I haven't had the chance to look into it. On Tue, Jul 29, 2014 at 11:26 PM, Hubert Hölzl [email protected]
|
I've submitted #2535 as a fix for this. I've confirmed that this does fix the issue with 1.3.0-beta.17. Simple change, but it works just fine. |
Agree.
So yes, #2535 should be the actual true fix of the issue. |
Fixes angular-ui#2474 Fixes angular-ui#2541 Fixes angular-ui#2293 Closes angular-ui#2535 Closes angular-ui#2557
Hi,
I think this is an angular 1.3 related problem, because everything works fine in 1.2. I tried to use the typeahead directive the following way:
When I begin typing, the recommendations are shown, but I can't navigate with the arrow keys (it doesn't highlight the entries provided), and when I click on an entry it isn't copied to the input field.
I had a look into the bootstrap-ui source code, and found out, that the
isActive
method from the typeaheadPopup directive is not called, which is bind to theng-class
directive on the<li>
element of the popup.https://github.com/angular-ui/bootstrap/blob/master/src/typeahead/typeahead.js#L327-360
In fact, non of the method (
selectActive
,selectMatch
) are called, except theisOpen
method. It is called from theng-if
directive on the<ul>
element.I created a plnkr http://plnkr.co/edit/MPTW84KWJ52y8FOUYXZU?p=preview and included angularjs 1.3.bety.15. You can test it by commenting out the
angular.js
file and use the normal 1.2 files.Can someone tell me, what has changed so that this doesn't work anymore?
The text was updated successfully, but these errors were encountered: