From ffea581c8385ceb45a4d3385d36972e9e2fca90f Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 2 Oct 2018 15:00:22 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2