Re: Autocomplete with long lists
- Hi Matt,
Thanks for bringing this up. Please file it as a bug so we can investigate a fix for a future release (http://developer.yahoo.com/yui/articles/reportingbugs/).
> I have an autocomplete with a long-ish list of items. The list is so long (or my screen so small) that I have to scroll down the whole window to see the things on the bottom of the list. If I scroll down so that the input box is no longer visible (i.e. it's scrolled up off the top of the viewport), when I click on an item it jumps back up so that the text box is visible but my click event didn't select the item in the autocomplete list.
> Perhaps easier to try it: have a look at the custom formatting example
> but with a smallish browser window (I've tried on Firefox and IE on Windows). Search for something that gives a lot of results, and scroll down and try and select one of the items at the bottom of the list. Resize your browser window and it should be fine.
> Is this a bug (in which case I'll log it)? Or have I missed something?
> Without actually investigating, it seems like during the click event, the input box is given focus, but by the time that's happened the list item I'm trying to select has disappeared off the bottom of the screen - so the selection doesn't register?
> Thanks very much,