12cd51e378139aa4d121b59664c7160c7c86ed35 |
|
25-Feb-2012 |
Ryan Grove <ryan@wonko.com> |
Fix windowresize event not firing. |
216e136bc23466fa2a8deeed50b267dc10379daa |
|
22-Feb-2012 |
Ryan Grove <ryan@wonko.com> |
Fix tab selection preventing subsequent click selections. [Ticket #2531684] |
c6f34ab5211f002c70255bb7423b57e2bbbf39ff |
|
22-Feb-2012 |
Ryan Grove <ryan@wonko.com> |
Hack to exclude valuechange synth event from AutoComplete's UI_EVENTS. |
fc948858031e489d09d1d8c950ec74a88119cea6 |
|
15-Feb-2012 |
Ryan Grove <ryan@wonko.com> |
Fix scrollable list being hidden after using the scrollbar to scroll.
See http://yuilibrary.com/forum/viewtopic.php?p=30599 |
b266cc9b2ae6c3918d7ff24ec7159b2941a7ac61 |
|
15-Feb-2012 |
Ryan Grove <ryan@wonko.com> |
s/EventTarget/EventFacade/ in API docs. |
46e44a0982cea3a5d783c1446f22e09eebcf8db9 |
|
09-Feb-2012 |
Ryan Grove <ryan@wonko.com> |
Reformat autocomplete's API docs. |
200e1189ccbb1d6a1ddbef2e9320535f4a1af440 |
|
25-Jan-2012 |
Ryan Grove <ryan@wonko.com> |
Add workaround for an IE7 repaint bug.
On some pages (it's not entirely clear what the trigger is), IE7 fails
to repaint the contents of the result list when it becomes visible.
Toggling a bogus class on the body forces a repaint. |
7f9dfffb92e442a6d99b2becef29e6f4d8db4ede |
|
29-Aug-2011 |
Ryan Grove <ryan@wonko.com> |
Fix a bug that prevented the autocomplete list from being hidden after right-clicking on the list and then clicking elsewhere in the document. [Ticket #2531009] |
78690b2a3686cd3e5b22ebbc416b1c3aee1c9a27 |
|
29-Aug-2011 |
Ryan Grove <ryan@wonko.com> |
Un-remove AutoComplete's ARIA live region. |
3b176d01148442acf4e41c28739a6d8acbf6d32b |
|
24-Aug-2011 |
Ryan Grove <ryan@wonko.com> |
AutoComplete accessibility improvements.
Made the following changes based on advice from the Y! Accessibility
team:
- Removed role="combobox" from the input node. It's not appropriate
for all AutoComplete use cases, and is usually not necessary.
- Removes the live region that announces suggestions. It's redundant
in assistive tools that properly support the other ARIA
functionality that AutoComplete implements. |
dd1438ea909a39d6bb203a40df018e2da8028239 |
|
21-Jul-2011 |
Ryan Grove <ryan@wonko.com> |
API doc improvements. |
32a8d1a718821013f45e722a5a8c886b902d4bb1 |
|
19-Jul-2011 |
Ryan Grove <ryan@wonko.com> |
Also scroll into view if the item is outside the contentBox region.
This ensures that the item will be correctly scrolled into view if the
contentBox itself is scrollable and the item is outside the current
visible area. |
9d22c51f3040a96aae2a15ba6511d2581be5b507 |
|
19-Jul-2011 |
Ryan Grove <ryan@wonko.com> |
Much better scrollIntoView functionality. |
a8f7df1dd010d9710700d23416df1df8a3fb9604 |
|
19-Jul-2011 |
Ryan Grove <ryan@wonko.com> |
Allow the use of a pre-existing listNode. |
f9c50c87882336c703624ce47e6febb4ae579f02 |
|
07-May-2011 |
Ryan Grove <ryan@wonko.com> |
Add an 'originEvent' property to the facade of 'select' events.
originEvent contains the event facade of the DOM event that triggered
the selection if the selection was triggered by a DOM event. |
5b2cfe4c3a7e346c1d206f8559d62f7b423bf83c |
|
23-Apr-2011 |
Ryan Grove <ryan@wonko.com> |
Force position: absolute on the boundingBox.
This works around a potential CSS loading race condition in Gecko that
can cause the boundingBox to become relatively positioned, which is all
kinds of no good.
This hack shouldn't be needed once Get can reliably detect CSS load
completion in Gecko. |
396e98d005da39175b04591362d02bb4ac16690a |
|
20-Apr-2011 |
Ryan Grove <ryan@wonko.com> |
Reposition the result list when the window is resized. |
caf66e09d7eb27134dd75e649479830a58379ec5 |
|
17-Apr-2011 |
Ryan Grove <ryan@wonko.com> |
Update result list alignment on every result change.
This makes right-aligned lists with dynamic widths less awkward. |
c6ab780ed34026fab30cd3fcdb53e39d6c2a7409 |
|
16-Mar-2011 |
Ryan Grove <ryan@wonko.com> |
Switch to shim-plugin instead of widget-stack, and add a default z-index
in the core autocomplete-list CSS.
This fixes a shim bug in IE6 in which the shim wasn't sized correctly
the first time the list was shown, and also resolves default z-index
issues in all browsers that required implementers to manually set the
z-index in JS in order for it to take effect. |
0adb78490a3322da6b4800d8d341fe313429d682 |
|
08-Feb-2011 |
Ryan Grove <ryan@wonko.com> |
Clean up the ARIA live region on destruction. |
3032aa68a85c67986829f574797729c6ba5d0b4b |
|
06-Jan-2011 |
Ryan Grove <ryan@wonko.com> |
Force a reflow to work around a glitch in IE6 and 7 where some of the contents of the list will sometimes remain visible after the container is hidden. [Fixes #2529741] |
3d086cf797d0e6b435225b3e1652b162c248e21c |
|
04-Jan-2011 |
Ryan Grove <ryan@wonko.com> |
Allow null value for 'align' property. Don't auto-align to inputNode when false. |
d5d4019ad7982721985c8545bc15d9d9ce36e11e |
|
04-Jan-2011 |
Ryan Grove <ryan@wonko.com> |
Don't call preventDefault on item clicks.
The implementer can prevent the default click action manually if desired
by attaching a delegated event handler to the listNode and handling
clicks there. |
2fe625cf2ba3c0866d39d9804f70fb2b8a2e5084 |
|
18-Dec-2010 |
Ryan Grove <ryan@wonko.com> |
Don't set the list width to 0 when the input node's width is 0 or unknown. [Fixes #2529671] |
4bd5f7e79c79eac3a33964071c19e80f8a4c7a8e |
|
07-Dec-2010 |
Ryan Grove <ryan@wonko.com> |
API doc tweaks. |
c3547b76b8b54759261b297b2e0ac123860b4138 |
|
03-Dec-2010 |
Ryan Grove <ryan@wonko.com> |
Listen for blur instead of change. |
34bfbe7eaf52211d300964541e71d2350269cb69 |
|
23-Nov-2010 |
Ryan Grove <ryan@wonko.com> |
Fix potential error when the _afterActiveItemChange handler runs after the previously-selected item node has been removed from the document. |
7960a254a3df2863d5729d8d956115037c7d7f81 |
|
22-Nov-2010 |
Ryan Grove <ryan@wonko.com> |
Add scrollIntoView config attribute. Don't scroll by default. |
33fd074792b9bad2ee162f55db5f4682795b5b12 |
|
18-Nov-2010 |
Ryan Grove <ryan@wonko.com> |
Remove aria-activedescendant attribute when activeItem is set to null. |
db30bc38f1dce6764d9cc12018a8a90e72dc9b2e |
|
18-Nov-2010 |
Ryan Grove <ryan@wonko.com> |
No point using HTML_PARSER for the list node; it has no value without JS. |
cd74b52fcd681cf1d3d4a846a43555ed2f210b11 |
|
18-Nov-2010 |
Ryan Grove <ryan@wonko.com> |
More compact event subscriptions. |
d5040f53f2ca447869f1d042e79c36860524baa9 |
|
12-Nov-2010 |
Ryan Grove <ryan@wonko.com> |
Fix comment. |
01c4c7ac9d947771b365cb71b62865d888f2dc92 |
|
24-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Internationalize autocomplete-list strings.
Only an English version at the moment. Please translate and send pull
requests! |
13a5f24f54f2b2384d1e924e3f1d737fec5fde9b |
|
22-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Early cut of node-tokeninput.
This is a Node plugin for input fields and textareas that provides a
tokenized input pattern similar to Mac OS X's TokenField widget. It can
be used in conjunction with AutoCompleteList to provide things like tag
completion. |
f94ade3d86f8002647707af993d80f794a7f0164 |
|
21-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
More ARIA tweaks. Back to the original implementation now. |
3fdc538f1e3d65a00b9cd44e65ae854ec9c09963 |
|
20-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Move autocomplete-list keyboard handlers into a standalone autocomplete-list-keys module.
The autocomplete-list-keys module won't be loaded for iOS and Android
devices by default. |
517ebecd7f09e7b967254bc5022a487547a78141 |
|
20-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Scroll the active item or input node into view if necessary when the active item changes. |
a4fdbd57a357f8163c6116e832e4aaabea0a8008 |
|
20-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Don't capture the tab key when there's no active item. |
fe1ddbe42962c92508fc71d32ee076607d330e56 |
|
20-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
ARIA improvements. |
e3e221f8406b2d49d72d5a1a095dd2bf945ac6c9 |
|
19-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Rename this._events to this._listEvents. |
7f7120f9f043dd706fc20d8eb5198972d378b035 |
|
08-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Break key handlers into separate methods for better overridability. |
a5074803a95e20c61e14d6098e9f031e13793f88 |
|
08-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Make activeItem writable. |
cd38ef59065632d22900ba8126d1f4f73a60353e |
|
08-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Ensure that selectItem() always returns this, to maintain chainability. |
f33ebf8e6d643c8956f26eadf579f9a49711f509 |
|
08-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
No need to override Widget's show() method. |
fcf2b8b108f50a2f988eae63d7f2039e462ff73e |
|
08-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Move alwaysShowList logic out of renderUI(). |
015f8ae22621bccbcceb99112313cfd432428a43 |
|
07-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
ARIA improvements. |
317f7caa7e232db8624cb0db0bf5cdd199a76946 |
|
06-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Circular selection should wrap to the input node. |
d3af1a761f8bb3a11a074f6c16f21ccb748d56c3 |
|
06-Oct-2010 |
Ryan Grove <ryan@wonko.com> |
Use AOP to attach AutoCompleteBase's bind/sync/destroy lifecycle methods. |
90bb927fb882194777d7292bcdd50e0e3725233e |
|
23-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Remove unnecessary string shorthand. |
415b9e93b9a17762adb0dd750d791ff4f402607a |
|
23-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add alwaysShowList attribute. |
6c46e469bebedd5979bd6a16819e375891b2c4a6 |
|
23-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add activateFirstItem attribute.
When true, the first item in the list will be activated by default when
the list is initially displayed and when results change. |
83d60b0f8401abe338d38163d04172384076ee99 |
|
23-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add tabSelect attribute.
When true, pressing the tab key while the list is visible will select
the active item, if any. |
63488639b5e6b1edc095f1ac6c666be32483144f |
|
22-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Create a new list node as a descendant of the content box.
Previously, the content box itself was used as the list node, but this
turns out to be inflexible since it prevents subclasses and implementers
from adding additional display elements beyond the result list itself. |
5c241e423110dd97fd61c836e4c521c10864d9c9 |
|
17-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add query delimiter support (currently only at end of input). |
3507374739e61ff3c0b5a1455b4634915f9f7180 |
|
16-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
@returns, not @return |
1b1a10cc76207c11e38aede237f164688d27cf65 |
|
16-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Show the list on down arrow if there are results. |
169dffad42c303d622348b4c9dbb39619b3a73a9 |
|
16-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
ARIA improvements based on screen reader testing. |
21c49ebfe6eea2f3b5a7fe3018206cb0e213096a |
|
16-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Track the input value internally.
This makes it easier to ensure that we only fire autocomplete queries
when the user changes the input value, as opposed to when the input
value is changed programmatically. |
766ecb8023c2374bba052ae9e11d25c5c5e8305b |
|
15-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add "circular" attribute. |
6310fb38dcb7e288c966f8c9e43200c03c87d942 |
|
15-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Add keyboard and mouse item selection and focus management. |
f5738feb0b3d461c1398fc1cd8fc01b0de21d592 |
|
15-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
Move autocomplete-list back under the autocomplete module. Make Y.AutoComplete an alias for Y.AutoCompleteList. |
be88250ca854b49860633d7f4185e4aa485f61a5 |
|
13-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
More work in progress on autocomplete-list. |
6d408e55d70c428d9bec98954a332ac92adad6ce |
|
13-Sep-2010 |
Ryan Grove <ryan@wonko.com> |
More AutoComplete namespace and dependency refactoring.
- Y.AutoComplete is now an instantiable widgetless implementation of
Y.AutoCompleteBase.
- Y.AutoCompleteList is the barebones list completion widget in
progress.
- The filter and highlighter modules now stand alone and don't depend
on any other part of AutoComplete. |