X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FComboBox.js;h=7ad18da2c0d3eea9166790439c83df757398bc20;hb=58b66309d1c3da0e8ff8856cdeb8b91c8025e5a0;hp=a0bbde376002d2cb5631d344d047108de19f287f;hpb=fb7c334a768d6b98e7cd356449835092e9428c60;p=roojs1 diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index a0bbde3760..7ad18da2c0 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -2736,13 +2736,8 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { bodyHeight = bodyHeight - this.touchViewHeaderEl.getHeight(); } - var listHeight = this.touchViewListGroup.getHeight() + this.touchViewBodyEl.getPadding('tb'); + var listHeight = this.touchViewListGroup.getHeight() + this.touchViewBodyEl.getPadding('tb') * 2; - Roo.log(this.touchViewListGroup.getHeight()); - Roo.log(this.touchViewListGroup.getHeight(true)); - Roo.log(this.touchViewBodyEl.getPadding('tb')); - Roo.log(listHeight); - Roo.log(bodyHeight); if(this.mobile_restrict_height && listHeight < bodyHeight){ this.touchViewBodyEl.setHeight(listHeight); }