FIX: multiple select-kit fixes on mobile

This commit is contained in:
Joffrey JAFFEUX
2018-07-23 12:19:40 -04:00
committed by GitHub
parent eda1462b3b
commit 78419f677d
8 changed files with 57 additions and 36 deletions

View File

@ -92,17 +92,6 @@ export default Ember.Component.extend(
this.set("computedContent", []);
this.set("highlightedSelection", []);
if (this.site && this.site.isMobileDevice) {
this.setProperties({
filterable: isNone(this.get("filterable"))
? false
: this.get("filterable"),
autoFilterable: isNone(this.get("autoFilterable"))
? false
: this.get("filterable")
});
}
if (this.get("nameChanges")) {
this.addObserver(
`content.@each.${this.get("nameProperty")}`,
@ -458,7 +447,7 @@ export default Ember.Component.extend(
clearSelection() {
this.deselect(this.get("selection"));
this.focus();
this.focusFilterOrHeader();
},
actions: {