ember-power-select
Advanced tools
Comparing version 0.2.1 to 0.2.3
@@ -13,3 +13,3 @@ import Ember from 'ember'; | ||
noMatchesMessage: "No results found", | ||
selectedPartial: null, | ||
selectedComponent: null, | ||
dropdownPosition: 'auto', | ||
@@ -16,0 +16,0 @@ matcher: defaultMatcher, |
@@ -33,6 +33,6 @@ import Ember from 'ember'; | ||
actions: { | ||
select(option, toggleDropdown, e) { | ||
select(option, closeDropdown, e) { | ||
e.preventDefault(); | ||
this.select(option); | ||
toggleDropdown(e); | ||
closeDropdown(e); | ||
}, | ||
@@ -39,0 +39,0 @@ |
@@ -89,5 +89,4 @@ import Ember from 'ember'; | ||
focusSearch() { | ||
// debugger; | ||
this.element.querySelector('.ember-power-select-trigger-multiple-input').focus(); | ||
} | ||
}); |
@@ -25,3 +25,3 @@ import Ember from 'ember'; | ||
searchKeydown(toggleDropdown, e) { | ||
searchKeydown(closeDropdown, e) { | ||
if (e.keyCode === 40 || e.keyCode === 38) { // Arrow up/down | ||
@@ -32,8 +32,8 @@ this.handleVerticalArrowKey(e); | ||
this.select(highlighted); | ||
toggleDropdown(e); | ||
closeDropdown(e); | ||
} else if (e.keyCode === 9) { // Tab | ||
toggleDropdown(); | ||
closeDropdown(); | ||
} else if (e.keyCode === 27) { // escape | ||
e.preventDefault(); | ||
toggleDropdown(e); | ||
closeDropdown(e); | ||
} else if (e.keyCode === 8) { // backspace | ||
@@ -40,0 +40,0 @@ this.handleBackspace(e); |
# Master | ||
# 0.2.1 | ||
- [REFACTOR] Divide component internally into ember-power-select/simple and ember-power-select/multiple | ||
- [BUGFIX] Fix bug where dropdown didn't close when selection an option inside a group. | ||
- [BUGFIX] Fix ember-wormhole destination not being added to the body footer. Solved by calling contentFor of dependencies. | ||
- [ENHALCEMENT] Update to ember-basic-dropdown 2.0. That yields a hash with public API on it | ||
@@ -5,0 +9,0 @@ # 0.2.0 |
@@ -14,3 +14,7 @@ /* jshint node: true */ | ||
}, | ||
contentFor: function(type, config) { | ||
this.eachAddonInvoke('contentFor', [this, type, config]); | ||
} | ||
}; | ||
{ | ||
"name": "ember-power-select", | ||
"version": "0.2.1", | ||
"version": "0.2.3", | ||
"description": "The default blueprint for ember-cli addons.", | ||
@@ -61,3 +61,3 @@ "homepage": "http://www.ember-power-select.com", | ||
"ember-cli-htmlbars": "0.7.9", | ||
"ember-basic-dropdown": "0.1.2" | ||
"ember-basic-dropdown": "0.2.0" | ||
}, | ||
@@ -64,0 +64,0 @@ "ember-addon": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53225
1477
+ Addedember-basic-dropdown@0.2.0(transitive)
- Removedember-basic-dropdown@0.1.2(transitive)
Updatedember-basic-dropdown@0.2.0