Browse Source

Fix #4237 IE11 dropdown issue with re-opening

pull/5122/merge
Jack Lukic 7 years ago
parent
commit
4732b325d1
2 changed files with 6 additions and 1 deletions
  1. 3
      RELEASE-NOTES.md
  2. 4
      src/definitions/modules/dropdown.js

3
RELEASE-NOTES.md

@ -5,12 +5,13 @@
**Critical Bugs** **Critical Bugs**
- **Dropdown** - Fix search input inside dropdown menu causing dropdown to close before selection when selecting an item #5113 - **Dropdown** - Fix search input inside dropdown menu causing dropdown to close before selection when selecting an item #5113
- **Dropdown** - (IE11 Only) Fixed issue where dropdown re-opens immediately after closing when using a `search` inside menu. #4237
**Bugs** **Bugs**
- **Button** - Fixes `@basicActiveBoxShadow` being used incorrectly in basic button variables - **Button** - Fixes `@basicActiveBoxShadow` being used incorrectly in basic button variables
- **Visibility** - Fixes issue where visibility events would occur improperly when using a `context` that have `overflow-x` or `overflow-y` set to `auto` - **Visibility** - Fixes issue where visibility events would occur improperly when using a `context` that have `overflow-x` or `overflow-y` set to `auto`
- **Dropdown** - Fixes an issue where dropdown would not correctly open `upward` at bottom edge of the screen when using a `context` with `overflow-x` or `overflow-y` set to `auto` - **Dropdown** - Fixes an issue where dropdown would not correctly open `upward` at bottom edge of the screen when using a `context` with `overflow-x` or `overflow-y` set to `auto`
- **Modal** - `onDeny` and `onApprove` callbacks can no longer occur multiple times if you rapidly click a approve/deny button in a modal. #4479
- **Modal** - `onDeny` and `onApprove` callbacks can no longer occur multiple times if you rapidly click a approve/deny button in a. #4479
### Version 2.2.10 - February 21, 2017 ### Version 2.2.10 - February 21, 2017

4
src/definitions/modules/dropdown.js

@ -1158,6 +1158,10 @@ $.fn.dropdown = function(parameters) {
hasSubMenu = ($subMenu.length > 0), hasSubMenu = ($subMenu.length > 0),
isBubbledEvent = ($subMenu.find($target).length > 0) isBubbledEvent = ($subMenu.find($target).length > 0)
; ;
if(module.has.menuSearch()) {
console.log('zz');
$(document.activeElement).blur();
}
if(!isBubbledEvent && (!hasSubMenu || settings.allowCategorySelection)) { if(!isBubbledEvent && (!hasSubMenu || settings.allowCategorySelection)) {
if(module.is.searchSelection()) { if(module.is.searchSelection()) {
if(settings.allowAdditions) { if(settings.allowAdditions) {

Loading…
Cancel
Save