From f86f8a4f95cbad65f0298949845c65f6fa3423d1 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 2 Oct 2018 14:58:20 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index 6aae91557f..0806f98211 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -2738,6 +2738,10 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { var listHeight = this.touchViewListGroup.getHeight(); + if(this.mobile_restrict_height && listHeight < bodyHeight){ + this.touchViewBodyEl.setHeight(listHeight); + } + var _this = this; if(firstChecked && listHeight > bodyHeight){ -- 2.39.2