Ticket #2530094 (accepted enhancement)
ReporterFrankOVD |
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, |
||
| 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
|
Posted: 04/7/11
|
|
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. |
|
Posted: 08/3/11
|
|
Posted: 04/9/12
|
|
Posted: 09/19/12
Moving from 3.NEXT to BACKLOG. |
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/