You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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): Revert accidental indent changes to dropdown demo.html
feat(dropdown): Add keynav support for dropdown menus (angular-ui#1228 and angular-ui#3212)
Copy file name to clipboardExpand all lines: src/dropdown/docs/readme.md
+2
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ There is also the `on-toggle(open)` optional expression fired when dropdown chan
6
6
Add `dropdown-append-to-body` to the `dropdown` element to append to the inner `dropdown-menu` to the body.
7
7
This is useful when the dropdown button is inside a div with `overflow: hidden`, and the menu would otherwise be hidden.
8
8
9
+
Add `keyboard-nav` to the `dropdown` element to enable navigation of dropdown list elements with the arrow keys.
10
+
9
11
By default the dropdown will automatically close if any of its elements is clicked, you can change this behavior by setting the `auto-close` option as follows:
10
12
11
13
*`always` - (Default) automatically closes the dropdown when any of its elements is clicked.
0 commit comments