You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use typeahead.js library with height (css) on suggestions container added, in order to make list scrollable. The height of suggestions container is never changing, because my custom function that generates suggestion list, returns all source items, with the ones, matching the query, rendered on top of list.
Scrollbar on suggestions container is not restored after these steps:
enter search query
scroll down to the last item and select it
change query to get suggestion list again
Result: scrollbar is on the bottom of container, the same position it was set after entering the first query.
The text was updated successfully, but these errors were encountered:
Even though this is an old issue, if for any reason anybody is stuck on an old version of typeahead, this is what I did to solve the problem in my case with typeahead 0.9.3:
I patched typeahead.js. In function 'renderSuggestions' in class 'DropdownView' insert the following:
I use typeahead.js library with height (css) on suggestions container added, in order to make list scrollable. The height of suggestions container is never changing, because my custom function that generates suggestion list, returns all
source
items, with the ones, matching the query, rendered on top of list.Scrollbar on suggestions container is not restored after these steps:
Result: scrollbar is on the bottom of container, the same position it was set after entering the first query.
The text was updated successfully, but these errors were encountered: