Ticket #2531684 (closed defect)

Reporter


Gregor Mendel
Opened: 01/21/12
Last modified: 05/10/12
Status: closed
Type: defect
Resolution: fixed

Owner


Ryan Grove
Target Release: 3.5.0
Priority: P3 (normal)
Summary: Using tab for itemSelection disables AutoComplete
Description:

After selecting a suggested item by tab key the autocompleter blocks selecting further items from the results and hides the list when clicking an item.

Using enter key instead of tab doesn't block further selection.

Type: defect Observed in Version: 3.4.1
Component: AutoComplete Severity: S3 (normal)
Assigned To: Ryan Grove Target Release: 3.5.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: Firefox 3.x - Mac,Firefox - Latest,Safari 5.x - Mac
URL: http://yuilibrary.com/yui/docs/autocomplete/ac-tagging.html
Test Information:

- visit http://yuilibrary.com/yui/docs/autocomplete/ac-tagging.html
- mark a tag using arrow keys
- select it via tab key
- mouseclick another one.

The click won't select the item but will hide the whole list.

After typing a character into the input field the autocompletion restarts working.

If you use the enter key instead of tab to select an item further selection by mouseclicking works like a charm. So there's an obvious difference in handling the enter key for itemSelection compared
to using tab.

UPDATE:
After selecting an item with the tab key you can select others using tab or enter as well but selection by mouse is not working after having used tab.

This was verified on Ubuntu 11.10 with Firefox 9.0.1 and on Mac OS X 10.6 using Safari 5.0.2 as well as Firefox 9.0.1

Change History

Ryan Grove

YUI Developer

Posted: 01/23/12
  • location changed to Library Code
  • milestone changed to 3.5.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

Confirmed. Thanks for the detailed report.

Ryan Grove

YUI Developer

Posted: 01/23/12
  • estimated changed from 0 to 0.3
  • remaining changed from 0 to 0.3
  • sprint changed to sprint 3

Ryan Grove

YUI Developer

Posted: 02/22/12
  • completed changed from 0 to 0.3
  • remaining changed from 0.3 to 0
  • status changed from accepted to checkedin

Fixed in commit 216e136bc

Jenny Donnelly

YUI Developer

Posted: 05/10/12
  • resolution changed to fixed

checkedin -> closed

Jenny Donnelly

YUI Developer

Posted: 05/10/12
  • status changed from checkedin to closed

checkedin -> closed