jQuery: The Write Less, Do More JavaScript Library

TAB presses in Safari broken

Project:jQuery AutoComplete
Version:1.0.1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Pressing tab in Safari-mac can lead to a dangling suggestion list.

Steps to reproduce:
- open a page with more than one input field
- activate autocomplete and wait for suggestions to show up
- hit TAB
-- selected suggestion is incremented
-- input field is updated
-- cursor moves but autocomplete is still active / suggestions are still visible

A fix is available below. Unfortunately the fix is rolled together with a fix for bug 2243 and a tweak to not activate when ESC is pressed in an input field.

http://github.com/istruble/jquery-autocomplete/commit/723d7ac6ffdbee6839...

http://plugins.jquery.com/node/2243