Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#5318 closed bug (fixed)

Autocomplete: Hovering over a menu item should not change the text field

Reported by: ricardolopezrey Owned by:
Priority: major Milestone: 1.8
Component: ui.autocomplete Version: 1.8rc3
Keywords: strange behavior Cc: picurey@…
Blocked by: Blocking:

Description

Hi!

In my opinion autocomplete is great widget... from the point of view of usability is strange that when you are writing in the input and the list appears, if you pass over menu elements the text change...

I mean, if I'm searching a city, my objetiv is MADRID:

then I type on the input: Ma

Then a list appear showing me:

-MAlaga -MAdeira

I stop typping and then searching in the list (is really common) I pass over with my mouse "Malaga" the input value change... So I can't continue writing MA"drid" that is what I wanted... and I'm forced to do some "extra work".


So I propose to remove line 104, and then if I start searching "MA" I can't continue whenever I want writing "DRID" without worry about what I do with the mouse or keyboard...

I'm using autocomplete to one of my projects and after some usability tests we realize about this...

Thanks, for everything

Change History (11)

comment:1 Changed 10 years ago by Scott González

Summary: Strange behavior autocomplet when mouse over the listAutocomplete: Hovering over a menu item should not change the text field

Agreed; we've been using the awesomebar as our reference and it doesn't change values on hover.

comment:2 Changed 10 years ago by Scott González

comment:3 Changed 10 years ago by Scott González

Priority: minormajor
Type: enhancementbug

comment:4 Changed 10 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed by #5349

comment:5 Changed 10 years ago by rdworth

Resolution: fixed
Status: closedreopened

This was only half-fixed by #5349. You can get what was originally entered by moving the mouse off the menu, but this issue is that hovering replaces the entered value at all, in advance of selection.

comment:6 Changed 10 years ago by Scott González

Milestone: 1.81.9
Resolution: fixed
Status: reopenedclosed

This was already fixed.

comment:7 Changed 10 years ago by rdworth

Milestone: 1.91.8

comment:8 Changed 7 years ago by zeroA

This is not fixed if go here: http://jsfiddle.net/ekelvin/f5pvc/

I set up the value of the text box in with a 8 sec timer there before the timer fires you have to click on the text-box write 'a' and when the menu is dropped down just hover the list with the mouse and stay there till the text-box value change to "BASIC" by the timer. After that if you hover-out the menu the textbox value will return to be 'a'. So the bug persist. I don't know if it was the same before but there is a bug now.

I putted even return false to the focus: and is the same.

comment:9 Changed 7 years ago by Scott González

@zeroA: Your fiddle works properly with master: http://jsfiddle.net/f5pvc/1/

comment:10 in reply to:  9 Changed 7 years ago by zeroA

Replying to scott.gonzalez:

@zeroA: Your fiddle works properly with master: http://jsfiddle.net/f5pvc/1/

Yes works fine with http://code.jquery.com/ui/jquery-ui-git.js

but it doesn't work fine with jquery-ui-1.8.20-21

just downloaded jquery-ui-1.8.22.custom.min.js from http://jqueryui.com/download

and doesn't work either.

what limitations and changes will I have to expect if I use the http://code.jquery.com/ui/jquery-ui-git.js in my project

or is there any plugin that in combination with autocomplete gives this bug

Last edited 7 years ago by zeroA (previous) (diff)

comment:11 Changed 7 years ago by Scott González

@zeroA You can look at the tickets for 1.9 to see what changed. This is not the place to discuss all changes.

Note: See TracTickets for help on using tickets.