Uncaught TypeError on dropdown element click. #2343
Comments
Sorry, there is not enough details to help you. If you need assistance prepare a reproduce scenario using http://plnkr.co/ |
I'm very sorry, i can't reproduce it with a simple plunk, on nav-bar click Utenti->ricerca a couple of times ** this must be a very particular situation.. it seems that the error shows only if i load the |
check this plunk instead, it's veeery simple now: |
I have exactly the same problem since upgrading from 0.11.0 to 0.11.2. |
Thanks for reporting this issue. Fixed on master. |
angular-ui/bootstrap#2343 Will be upgradable to 0.11.3
I couldn't dig it too much but:
when opening a dropdown, and clicking a child-element,
this function
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L23
is invoked and sets
openscope
to null,subsequently, this function is invoked
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L31
openscope
is null there, and i get anUncaught TypeError: Cannot read property 'getToggleElement' of null
The text was updated successfully, but these errors were encountered: