diff --git a/app/assets/javascripts/select-kit/components/multi-select.js.es6 b/app/assets/javascripts/select-kit/components/multi-select.js.es6 index c27c82a51f8..c96f0033dae 100644 --- a/app/assets/javascripts/select-kit/components/multi-select.js.es6 +++ b/app/assets/javascripts/select-kit/components/multi-select.js.es6 @@ -39,7 +39,9 @@ export default SelectKitComponent.extend({ @on("didRender") _setChoicesMaxWidth() { const width = this.$body().outerWidth(false); - this.$(".choices").css({ maxWidth: width }); + if (width > 0) { + this.$(".choices").css({ maxWidth: width }); + } }, @on("didReceiveAttrs")