Loading ...
Sorry, an error occurred while loading the content.

Re: Autocomplete with long lists

Expand Messages
  • jennykhan
    Hi Matt, Thanks for bringing this up. Please file it as a bug so we can investigate a fix for a future release
    Message 1 of 2 , May 4, 2009
    • 0 Attachment
      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/).

      Thanks!
      Jenny



      --- In ydn-javascript@yahoogroups.com, "mattatlamplight" <matt@...> wrote:
      >
      > Hi,
      >
      > 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
      > http://developer.yahoo.com/yui/examples/autocomplete/ac_formatting_proxyless.html
      > 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,
      >
      > Matt
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.