You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ian Bacher (JIRA)" <ji...@apache.org> on 2009/01/16 14:57:02 UTC

[jira] Updated: (WICKET-2024) AutoComplete ShowListOnFocusGain not working

     [ https://issues.apache.org/jira/browse/WICKET-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Bacher updated WICKET-2024:
-------------------------------

    Attachment: wicket-autocomplete-onfocus.patch

The trivial fix.

> 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-RC2
>
>         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.