提交 5fc42bbe 编写于 作者: V Vlad Ilyushchenko

grid bugfix

上级 d404a826
......@@ -429,7 +429,7 @@
if (scrollTop !== top || force) {
var oldY = y;
if (Math.abs(scrollTop - top) > 4 * vp) {
y = scrollTop === 0 ? 0 : Math.ceil((scrollTop + vp) * M - vp);
y = scrollTop === 0 ? 0 : Math.min(Math.ceil((scrollTop + vp) * M - vp), yMax - vp);
top = scrollTop;
o = y - top;
} else if (scrollTop >= h - vp) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册