Call resetPosition in displayItems
July 1, 2008 - 2:13pm — dazzawazza
| Project: | jquery.suggest, a "Google Suggest"-like autocompleter |
| Version: | 1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
I have a suggest input, when an item is selected a list ABOVE the input is extended with the selection. The next time the user types the suggestions appear in the wrong place as the input box has now moved down the screen (because the ki list above has been extended). To fix this I inserted a call to resetPosition immediatly before $results.html(html).show(); in displayItems.
thanks.
