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

Causes deferred long-running timer task(s) error. #16

Open
farazappy opened this issue Jun 12, 2016 · 5 comments
Open

Causes deferred long-running timer task(s) error. #16

farazappy opened this issue Jun 12, 2016 · 5 comments
Assignees

Comments

@farazappy
Copy link

When using HackTimer.js, In my browser's console a warning is logged :
Deferred long-running timer task(s) to improve scrolling smoothness. See crbug.com/574343.

And The whole website lags.

Any fix for this?

Using latest File.

@turuslan turuslan self-assigned this Jun 13, 2016
@turuslan
Copy link
Owner

turuslan commented Jun 13, 2016

Could you provide some more information

  • browser version
  • used libraries (jQuery, ...)
  • demo page to reproduce issue

@farazappy
Copy link
Author

Google Chrome 51.0.2704.84 (Official Build) m (32-bit)

Using jQuery with some other plugins.

Demo Page: I can personal message you.

@farazappy
Copy link
Author

I just added console.log(time);
here :
if(data.hasOwnProperty('time')) { time = data.time; console.log(time); }

And when monitoring on chrome, the time that is being logged is nice at some parts but at some parts it's 1000,2000,3000 and even 4000ms which I think is causing the long-running timer task(s) error because as I read on the forums if time is >50ms it will cause the issue.

@turuslan
Copy link
Owner

turuslan commented Jun 14, 2016

Did you find issue on mobile device with touchscreen or desktop pc?

Could you please send me e-mail ([email protected]) with demo page?

@farazappy
Copy link
Author

I found this issue on a mobile device with a touch screen, Yes! Desktop Mode woks flawlessly!

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

2 participants