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

Chrome Warnings about Non-passive Event Listener #14

Open
mark100net opened this issue Jan 30, 2021 · 0 comments
Open

Chrome Warnings about Non-passive Event Listener #14

mark100net opened this issue Jan 30, 2021 · 0 comments

Comments

@mark100net
Copy link

Chrome console warnings (on for each square?) for non-passive events:

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

It spits out this warning 64 times when you refresh the page.

This is happening in my app but you can also see it here:

https://react-chess-board.stackblitz.io/

@mark100net mark100net changed the title Chrome Warnings about Non-passive Event Handler Chrome Warnings about Non-passive Event Listener Jan 30, 2021
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