Browse Source

Fix #5113 Dropdown blur issue

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

5
RELEASE-NOTES.md

@ -2,8 +2,11 @@
### Version 2.2.11 - February 21, 2017
**Bugs**
**Critical Bugs**
- **Dropdown** - Fix search input inside dropdown menu causing dropdown to close before selection when selecting an item #5113
**Bugs**
- **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`
- **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`

2
src/definitions/modules/dropdown.js

@ -975,7 +975,7 @@ $.fn.dropdown = function(parameters) {
},
blur: function(event) {
pageLostFocus = (document.activeElement === this);
if(!willRefocus) {
if(module.is.searchSelection() && !willRefocus) {
if(!itemActivated && !pageLostFocus) {
if(settings.forceSelection) {
module.forceSelection();

Loading…
Cancel
Save