Open radiance8888 opened 6 years ago
hi. please view the demo http://plnkr.co/edit/gV6kMSRlogjBKnh3JHU3?p=preview
I saw the demo. If i change the number of results, it is not behaving in the expected way. Since bottomLimit is 9
@radiance8888 you can simply style the active
classname, followed by the relevant selector as in:
custom-template-list .list-group-item.active {
background-color: red;
}
@radiance8888 regarding your comment about 9 results - that's a feature request. please post a new issue for it.
did the the suggested solution solved the issue (above comment with css snippet)?
In static list
When we use keyUp or keyDown in the typeahead results, focus is moving properly, but when we reach end of the results, when we click keyDown , focus should come back to first option right? It is not coming. After two keyDowns focus is coming to first option.
How can i correct it?
Is there any simple way or i should loop through the results and add class according to the index?
And i want the typeahead to display from bottom to top because my input box is at the end of the screen. So how can i change the activeResult from bottom. Initially i dont want to highlight any option and if the user clicks keyUp , i want to highlight options from bottom to Top.
Quick answer will be much helpful!!
Thanks in advance!