X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FComboBox.js;h=78812b202b585aa880b981001b1ea5896a792b93;hb=ffea581c8385ceb45a4d3385d36972e9e2fca90f;hp=2a323e7395a082e79ed3c71565c0d9b7b403acb2;hpb=217845ceb312ca8f207cc371f7840535b9694b83;p=roojs1 diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index 2a323e7395..78812b202b 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -2736,10 +2736,10 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { bodyHeight = bodyHeight - this.touchViewHeaderEl.getHeight(); } - var listHeight = this.touchViewListGroup.getHeight(); + var listHeight = this.touchViewListGroup.getHeight() + this.touchViewBodyEl.getPadding('tb'); if(this.mobile_restrict_height && listHeight < bodyHeight){ - this.touchViewBodyEl.setHeight(listHeight + this.touchViewBodyEl.getPadding('tb')); + this.touchViewBodyEl.setHeight(listHeight); } var _this = this;