* Optimized Virtual Rendered animated scrolling
This commit is contained in:
parent
491250b68a
commit
7e70887b09
1 changed files with 1 additions and 1 deletions
|
|
@ -734,7 +734,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
if (center)
|
||||
offset -= this.$size.scrollerHeight / 2;
|
||||
|
||||
if (this.$animatedScroll) {
|
||||
if (this.$animatedScroll && Math.abs(offset - this.scrollTop) < 10000) {
|
||||
var i = 0, _self = this,
|
||||
steps = calcSteps(this.scrollTop, offset);
|
||||
clearInterval(_self.$timer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue