From 58b66309d1c3da0e8ff8856cdeb8b91c8025e5a0 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 2 Oct 2018 15:04:12 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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); } -- 2.39.2