Skip to content

Commit

Permalink
Fix Semantic-Org#5113 Dropdown blur issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Mar 13, 2017
1 parent d481304 commit 1fa6625
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1fa6625

Please sign in to comment.