projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b393824
)
Roo/Element.js
author
edward
<edward@roojs.com>
Wed, 22 Nov 2017 04:27:29 +0000
(12:27 +0800)
committer
edward
<edward@roojs.com>
Wed, 22 Nov 2017 04:27:29 +0000
(12:27 +0800)
Roo/Element.js
patch
|
blob
|
history
diff --git
a/Roo/Element.js
b/Roo/Element.js
index
e08c80b
..
465880f
100644
(file)
--- a/
Roo/Element.js
+++ b/
Roo/Element.js
@@
-344,12
+344,15
@@
if(opt.anim.isAnimated()){
Roo.log([o, l, t, b,r]);
Roo.log([el.offsetHeight, el.offsetWidth]);
+
var ch = c.clientHeight;
var ct = parseInt(c.scrollTop, 10);
var cl = parseInt(c.scrollLeft, 10);
var cb = ct + ch;
var cr = cl + c.clientWidth;
-
+
+ Roo.log([ch, ct, cl, cb, cr])
+
if(t < ct){
c.scrollTop = t;
}else if(b > cb){