From 7a5fb9e12a60c361cfa8c102ac24c2e7d68b6db7 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 23 May 2017 21:38:54 -0700 Subject: [PATCH] Fix issue with down arrow shortcut in dropdown --- RELEASE-NOTES.md | 1 + src/definitions/modules/dropdown.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index a1ed4d867..2d1deb7da 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -8,6 +8,7 @@ - **Popup** - Separated className setting for `visible` into `visible` and `popupVisible`, this way you can remove visible indiciation on activating element without modifying popup. **Bugs** +- **Dropdown** - Fixed issue where using `down` key to re-open dropdown when using `search selection dropdown` would start at the top element instead of jumping to selected element - **Sidebar** - Removed use of `ios` browser detection, and use of `-webkit-overflow-scrolling: touch;`. iOS no longer has sizing issues when displaying sidebar content in latest iOS. - **Search** - Fixed issue where `searchDelay` could cause results to appear after search had lost focus. - **Sticky** - Fix issue where sticky would cause page to shift when `context` height was determined by sticky's height in `position: static;` #3430 diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 406f2d135..28ff1b548 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1470,7 +1470,6 @@ $.fn.dropdown = function(parameters) { // down arrow (open menu) if(pressedKey == keys.downArrow && !module.is.visible()) { module.verbose('Down key pressed, showing dropdown'); - module.select.firstUnfiltered(); module.show(); event.preventDefault(); }