Ticket #2530094 (accepted enhancement)

Reporter


FrankOVD
Opened: 04/6/11
Last modified: 09/19/12
Status: accepted
Type: enhancement

Owner


Ryan Grove
Target Release: BACKLOG
Priority: P4 (low)
Summary: AutoComplete results always appear under the input Node
Description:

Hi,

Unlike Comboboxes, YUI's AutoComplete results always drop down from under the InputNode, even if it is completely at the bottom of the screen. This makes the feature almost useless in some cases,
mostly when scrolling is prohibited by the parent node (div, document, etc.). I think this could be a good improvement, given that YUI's AutoComplete is very powerful if we forget this little flaw.

Type: enhancement Observed in Version: 3.3.0
Component: AutoComplete Severity: S4 (low)
Assigned To: Ryan Grove Target Release: BACKLOG
Location: Library Code Priority: P4 (low)
Tags: AutoComplete Relates To:
Browsers: All
URL:
Test Information:

Change History

Ryan Grove

YUI Developer

Posted: 04/7/11
  • browser changed from IE 9.x to All
  • location changed to Library Code
  • milestone changed to 3.4.0
  • priority changed to P4 (low)
  • status changed from new to accepted
  • type changed from todo to enhancement

Automatic list alignment based on viewport boundaries is a feature I'd like to add in a future version.

In the meantime, the alignment of the result list is manually configurable using the "align" config attribute, which is documented here: http://developer.yahoo.com/yui/3/autocomplete/#alignment

Here's an example that demonstrates how to align the result container above the input node instead of under it: http://jsfiddle.net/rgrove/6sREw/

FrankOVD

Posted: 04/7/11

Thanks for the hint. As I am using the AutoComplete widget in a bigger standard one in my web application, I'd have to make the alginment automatic so I may prefer to keep it this way 'till the next update. FYI, the bigger widget uses AutoComplete to search content in an existing ComboBox. I'd also appreciate that this kind of Widget exists in a future version on a standard Library like YUI because browser's support for ComboBoxes makes it very difficult to search properly in a large amount of items.

Ryan Grove

YUI Developer

Posted: 08/3/11
  • milestone changed from 3.4.0 to 3.5.0

Ryan Grove

YUI Developer

Posted: 04/9/12
  • milestone changed from 3.5.0 to 3.NEXT

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.NEXT to BACKLOG

Moving from 3.NEXT to BACKLOG.