Roo/bootstrap/ComboBox.js
authorEdward <edward@roojs.com>
Tue, 2 Oct 2018 07:00:02 +0000 (15:00 +0800)
committerEdward <edward@roojs.com>
Tue, 2 Oct 2018 07:00:02 +0000 (15:00 +0800)
Roo/bootstrap/ComboBox.js

index 0806f98..2a323e7 100644 (file)
@@ -2739,7 +2739,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         var listHeight = this.touchViewListGroup.getHeight();
         
         if(this.mobile_restrict_height && listHeight < bodyHeight){
-            this.touchViewBodyEl.setHeight(listHeight);
+            this.touchViewBodyEl.setHeight(listHeight + this.touchViewBodyEl.getPadding('tb'));
         }
         
         var _this = this;