Search and Top Navigation
#5530 closed bug (duplicate)
Opened April 19, 2010 03:31PM UTC
Closed May 15, 2010 01:53PM UTC
Last modified October 11, 2012 09:15PM UTC
Autocomplete and firing select off menu click
Reported by: | mattcowen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.autocomplete | Version: | 1.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
When selecting a menu item on the Autocomplete widget, if the user clicks slowly, i.e. mouse down, pause and mouse up, the select method is not triggered. This method should triggered on mouse up and only if the menu item still has focus.
Thanks
Matt
Tested in 1.8.1 and the bug still remains. I was able to consistently reproduce it by clicking a fraction of a second slower than normal, which may be common for some users. Seems this is due to an internal race condition/timing within ui.autocomplete when selecting the item via the mouse. It does seem odd that it should do anything on mousedown, instead it should just select on the mouseup. It seems like this bug is related to Ticket #5405 also. Need fix asap please.