mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:51:03 +08:00
FIX: Combobox not working with fixed element on iPad
This commit is contained in:
parent
393a05ed9e
commit
ec02b147b0
|
@ -72,7 +72,8 @@ export default Ember.Component.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
const $elem = this.$();
|
const $elem = this.$();
|
||||||
$elem.select2({formatResult: this.comboTemplate, minimumResultsForSearch: 5, width: 'resolve'});
|
const minimumResultsForSearch = this.capabilities.touch ? -1 : 5;
|
||||||
|
$elem.select2({formatResult: this.comboTemplate, minimumResultsForSearch, width: 'resolve'});
|
||||||
|
|
||||||
const castInteger = this.get('castInteger');
|
const castInteger = this.get('castInteger');
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user