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

Investigation: Passive event handlers #85

Closed
bennycode opened this issue Aug 11, 2016 · 1 comment
Closed

Investigation: Passive event handlers #85

bennycode opened this issue Aug 11, 2016 · 1 comment

Comments

@bennycode
Copy link
Contributor

bennycode commented Aug 11, 2016

Check if passive event handlers can bring better performance.

Read more:

Issue:

Handling of 'wheel' input event was delayed for 730 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responive.

Example:

  • document.addEventListener('touchstart', handler, {passive: true});

Support:

  • This feature shipped in Chrome 51, Firefox 49 and landed in WebKit. source
@bennycode
Copy link
Contributor Author

Started an issue on "jquery-mousewheel" about that: jquery/jquery-mousewheel#168

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