projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c14ba
)
Roo/Element.js
author
edward
<edward@roojs.com>
Wed, 29 Nov 2017 08:15:01 +0000
(16:15 +0800)
committer
edward
<edward@roojs.com>
Wed, 29 Nov 2017 08:15:01 +0000
(16:15 +0800)
Roo/Element.js
patch
|
blob
|
history
diff --git
a/Roo/Element.js
b/Roo/Element.js
index
4cf6e7b
..
7fe578e
100644
(file)
--- a/
Roo/Element.js
+++ b/
Roo/Element.js
@@
-198,9
+198,11
@@
if(opt.anim.isAnimated()){
(
!el.isScrollable() ||
(
- el.isScrollable()
- &&
- el.dom.nodeName.toLowerCase() == 'form'
+ el.isScrollable() &&
+ (
+ D.getViewHeight() - el.dom.clientHeight > 15 ||
+ D.getViewWidth() - el.dom.clientWidth > 15
+ )
)
) &&
el.dom.nodeName.toLowerCase() != 'body'