Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser scroll performance optimization can delay OnDemandList rendering #1351

Open
msssk opened this issue Feb 8, 2017 · 0 comments
Open

Comments

@msssk
Copy link
Contributor

msssk commented Feb 8, 2017

dgrid's OnDemandList uses debouncing or throttling to optimize rendering performance during scrolling. The debounce and throttle implementations are dependent on setTimeout, which has been targeted by browser vendors for "optimization", which means the callback passed to setTimeout may be executed long after the specified delay.

This has been observed impacting moderately complicated grids in Chrome on MacOS. The result is that when you perform a large rapid scroll, when you stop scrolling there is a significant delay (2-10 seconds) before the setTimeout callback is executed, data is fetched and rows are rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant