From 5513a1acaab059bc0a88227461eeb4d217a67de0 Mon Sep 17 00:00:00 2001 From: bleggett Date: Sun, 10 May 2015 19:13:15 -0400 Subject: [PATCH] Add keynav support to dropdown (#1228) fix(dropdown): Fixed indexing corner cases and filter key events. fix(dropdown): Try using document.bind instead fix(dropdown): Add optional attrib for keyboard-nav. fix(dropdown): Dedup code and handle differences if dropdown-menu used fix(dropdown): Fix focus issue and add more tests fix(dropdown): Update docs with example fix(dropdown): Revert accidental change to misc/demo/index.html fix(dropdown): Dedup code and handle differences if dropdown-menu used Add keynav support to dropdown (#1228) fix(dropdown): Fixed indexing corner cases and filter key events. fix(dropdown): Try using document.bind instead fix(dropdown): Add optional attrib for keyboard-nav. fix(dropdown): Fix focus issue and add more tests fix(dropdown): Revert accidental change to misc/demo/index.html fix(dropdown): Dedup code and handle differences if dropdown-menu used fix(dropdown): Update docs with example feat(dropdown): Add keynav support (fix for #1228) feat(dropdown): Fix indentation issues and correct breaks. fix(dropdown): undo indent goofyness. --- src/dropdown/docs/demo.html | 19 ++- src/dropdown/docs/readme.md | 2 + src/dropdown/dropdown.js | 105 +++++++++++++++-- src/dropdown/test/dropdown.spec.js | 182 +++++++++++++++++++++++++++++ 4 files changed, 294 insertions(+), 14 deletions(-) diff --git a/src/dropdown/docs/demo.html b/src/dropdown/docs/demo.html index f6c16fd542..9378464610 100644 --- a/src/dropdown/docs/demo.html +++ b/src/dropdown/docs/demo.html @@ -70,8 +70,23 @@

- -