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

A warning is thrown on chrome #287

Open
simonguo opened this issue May 7, 2018 · 0 comments
Open

A warning is thrown on chrome #287

simonguo opened this issue May 7, 2018 · 0 comments

Comments

@simonguo
Copy link

simonguo commented May 7, 2018

code: https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/stubs/EventListener.js#L28

image

[Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

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