Skip to content

A platform for community discussion. Free, open, simple.

FIX: adusts select-kit position even if not expanded (#6785)

Joffrey JAFFEUX22cea9ce90d4
diff --git a/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6 b/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6
index 88703fb72c7..edfd3000ea0 100644
--- a/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6
+++ b/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6
@@ -69,9 +69,7 @@ export default Ember.Mixin.create({
},
_adjustPosition() {
- if (this.get("isExpanded")) {
- this._applyDirection();
- }
+ this._applyDirection();
this._applyFixedPosition();
this._positionWrapper();
},