Scrolling with Autocomplete

4 views
Skip to first unread message

claylong

unread,
Jan 30, 2009, 4:12:24 PM1/30/09
to mxAjax
Working on implementing Autocomplete on some username lookup fields in
a corporate intranet. The default behavior of autocomplete is to pop-
up a list of returned results, but not to allow vertical scrolling
within that list. So I modified the CSS (set "overflow: auto") to
allow scrolling, which works fine for Firefox.

The problem occurs in IE (6 and 7, so it appears). When using the
autocomplete, and the scrollable popup is displayed, clicking the
scroll buttons in the popup cause the popup to close. I assume this
has something to do with the autocomplete control's loss of focus.

Is there any way to tell the autocomplete control NOT to close the
popup as long as focus is transferred to the popup itself (and not
some other element on the page)?
Reply all
Reply to author
Forward
0 new messages