Merge branch 'master' of http://git.roojs.com/roojs1
[roojs1] / Roo / bootstrap / ComboBox.js
index 05cc8cb..7483925 100644 (file)
@@ -1413,6 +1413,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         if(this.isExpanded() || !this.hasFocus){
             return;
         }
+        
+        var lw = this.listWidth || Math.max(this.inputEl().getWidth(), this.minListWidth);
+        this.list.setWidth(lw);
+        
+        
          Roo.log('expand');
         
         this.list.show();