jquery autocomplete plugin - options list won't close after it's been scrolled - Chrome only -
i'm using jquery autocomplete plugin (http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/) , it's fine in firefox i'm having problem in chrome. list of options appears longer can displayed @ once has scrollbar down side. once have scrolled list scrollbar, list no longer closes when click outside of it.
i'm stumped - can tell me how can fix or diagnose why it's not closing?
cheers, max
edit - same issue can seen in autocomplete demo on page: http://jquery.bassistance.de/autocomplete/demo/
both of these cases chrome (6.0.472.62 beta in linux, seen in windows).
case 1 - working normally: type 'a' in first input. see list appear. move mouse down 'adelphi'. move mouse sideways out of list - "adelphi" should still highlighted. click on blank part of page- list disappear.
case 1 - broken: type 'a' in first input. see list appear. scroll list down till "amsterdam" visible. move mouse down 'amsterdam' becomes highlighted (but don't click on it). move mouse sideways out of list - "amsterdam" should still highlighted. click on blank part of page - list not disappear. issue i'm encountering.
for 1 thing, plugin's demo works fine if set input size 50px
chrome css editor. no horizontal scrolling.
still, if had find workaround, see whole array of options.
- truncate result using javascript in
formatitem
handler: http://docs.jquery.com/plugins/autocomplete/autocomplete#url_or_dataoptions - setting list properties through css:
body > .ac_results > ul > li {overflow: hidden}
Comments
Post a Comment