Fixed in http://dev.jquery.com/changeset/5657, with a less obtrusive
workaround for Opera. Instead of bluring the field, the submit event
(happens only in Opera) is stopped.

I'll release 1.0.1, containing the fix, soon. Trying to get a few more
bugs fixed.

Jörn

On Thu, May 22, 2008 at 12:04 AM, Sebastian <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> the plugin http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
> has a slight inconsistency.
>
> With multiple not set (default=false), I have different behaviour if I
> select a value with 'Enter' or with a mouse click.
> The return executes a $input.blur() the mouse click not.
>
> I would appreciate if the blur is removed to have the cursor rest in
> the input field. The user can then press 'tab' to get into the next
> field instead of being forced to click in the next field.
>
> Best Regards
>
> Sebastian
>
> ... snip ...
> case KEY.RETURN:
>
>        if( selectCurrent() ){
>                // make sure to blur off the current field
>                                        if( !options.multiple )
>                                                $input.blur();
>                                        event.preventDefault();
>                                }
>                                break;
>

Reply via email to