Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Errors in console when interacting with demo for typeahead #5167

Closed
deeg opened this issue Jan 8, 2016 · 1 comment
Closed

Errors in console when interacting with demo for typeahead #5167

deeg opened this issue Jan 8, 2016 · 1 comment

Comments

@deeg
Copy link
Contributor

deeg commented Jan 8, 2016

With the latest master code, the last demo on the typeahead causes errors in the console:

ui-bootstrap.js:6267 Uncaught TypeError: Cannot read property 'scrollIntoView' of undefined
(anonymous function)    @   ui-bootstrap.js:6267
eventHandler

https://plnkr.co/edit/myFVFqnO2fHNo0aEednm?p=preview

Type some text in the last example, and then hit the arrow down key to scroll through results. This causes the error.

Might just be an issue with the demo and not the code itself, didn't have the time to look into it yet.

@wesleycho
Copy link
Contributor

Thanks for this - I see what is happening, the children need to select specifically for the li elements. I'll have a fix for this shortly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants