[ https://issues.apache.org/jira/browse/WICKET-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-2024: --------------------------------------- Fix Version/s: (was: 1.4-RC2) 1.4-RC3 > AutoComplete ShowListOnFocusGain not working > -------------------------------------------- > > Key: WICKET-2024 > URL: https://issues.apache.org/jira/browse/WICKET-2024 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions > Affects Versions: 1.4-RC2 > Environment: Google Chrome, IE 6, IE 7 > Reporter: Ian Bacher > Priority: Trivial > Fix For: 1.4-RC3 > > Attachments: wicket-autocomplete-onfocus.patch > > Original Estimate: 0.02h > Remaining Estimate: 0.02h > > I noticed an issue with the Wicket-Extensions autocomplete behavior when the > AutoCompleteSettings ShowListOnFocusGain flag is set to true. Basically, it > works as expected in Firefox, but in (at least) Chrome, IE6 and IE7, it > displays the list on focus gain, but you cannot use the mouse to select any > of the items in the autocomplete list. The debug log showed that as soon as > an item in the list was clicked on, the onblur event would fire for the > field, which would then immediately fire a focus event, which would trigger > reloading the list. > This fix for this is trivial: adding one line to the top of obj.onfocus: if > (mouseactive==1) return killEvent(event);. > I'll post the patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.