projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd15ce
)
Roo/bootstrap/ComboBox.js
author
Edward
<edward@roojs.com>
Tue, 2 Oct 2018 06:58:20 +0000
(14:58 +0800)
committer
Edward
<edward@roojs.com>
Tue, 2 Oct 2018 06:58:20 +0000
(14:58 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
6aae915
..
0806f98
100644
(file)
--- 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){