Opened 14 years ago
Closed 13 years ago
#3759 closed enhancement (invalid)
autocomplete
Reported by: | Songokoussj2 | Owned by: | joern |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | Cc: | Songokoussj2 | |
Blocked by: | Blocking: |
Description
It would be great to see autocompletes result list to behave more like a normal html select list resulting in better user experience. Selecting an "option" from the result list should use the mouseup-event instead of the click-event resulting in the possibility to make a mousedown on an "option" moving the mouse to another "option" and selecting the desired "option" using a mouseup. Additionaly it should not be possible to select text from an "option".
In order to prevent the selection of the text mousedown should return false (line 579) and a selectstart-event should be added which should return false too to get the same behavior on IE. Eventually this plugin can be used http://plugins.jquery.com/project/disable_text_select on the list at line 574.
For right selection behavior of an option i copied the code from line 580-584 and pasted this code into the mouseup-event at line 592. I also removed the click-event handler cause it is not needed anymore.
Thanks you for your work Thomas Wanschik
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | jquery.autocomplete.js added |
---|
comment:1 Changed 14 years ago by
Cc: | Songokoussj2 added |
---|---|
Component: | unfilled → plugin |
Owner: | set to joern |
comment:2 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please file plugin bugs with the appropriate author on their bug tracker.
removed little typing error