Description
Bug, feature request, or proposal: Bug
I'm not sure it's a bug but when items of the Virtual Scroll are complex and take some time to render the virtual scroll will show an empty container when scrolling really fast.
The GPU will always scroll at 60fps so the paint does not have the time to show, it will get destroyed for the next calc.
Turning GPU acceleration off will cause a lower FPS in favor of scrolling animation.
See example in this blitz
Is the only solution turning off GPU?
For example, a virtual scroll for a table might have complex rows...
Edit
While chrome will render in slower frame rate when gpu is turned off other browsers will not. I was not able to get the same result in safari and ff.
They will all chase tail and render nothing.
The solution is probably more complex, the virtual scroll should have a flag telling if it’s scrolling or not and the delta, velocity and acceleration of the scroll.
If it’s possible to detect this scenario where rendering does not work it will be awesome.
Users will the choose if to opt in and freeze cd, showing some other content, e.g placeholders...