Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
[6.7 Modern] Grid scrolling is not smooth and it is jumpy
-
-
It was perhaps ill judged to release the 9 billion pixel scroller as the default scroller in grids. I think that's what's doing it.
-
The scrolling is useless in modern on touch device. Can be simulated in Chrome emulating touch device.
Any updates on bug fix?
/ Emil
-
Ext Support Team
Hello,
Thank you for contacting us on Sencha Forums!
We are unable to reproduce this, we have checked in browser and mobile dev mode in browser as well so request you to provide steps to duplicate this issue and work on a resolution.
Regards,
Kumar
Sencha Support.
-
Sencha User
I add an animation to the virtualScroller of infinite list/grid, it's not as smooth as it in 6.6, but it's getting there
Code:
Ext.define(null, {
override: 'Ext.scroll.VirtualScroller',
privates: {
onWheel: function(e) {
var me = this,
self = me.self,
deltaX = e.deltaX,
deltaY = e.deltaY,
position = me.position,
oldX = position.x,
oldY = position.y,
x = me.constrainX(position.x + deltaX),
y = me.constrainY(position.y + deltaY);
console.log(deltaY);
if (x !== oldX || y !== oldY) {
me.isWheeling = self.isWheeling = true;
me.doScrollTo(x, y, { easing: 'ease-out', duration: 150 }); // animation
e.preventDefault();
} else if (me.isScrolling) {
me.onScrollEnd();
}
}
}
});
Fiddle:
https://fiddle.sencha.com/#view/editor&fiddle/2sks
-
Sencha User
Better solution:
Css below is all we need:
Code:
.x-virtualscroller .x-scroller-inner {
transition: transform 0.15s ease-out 0s;
}