Skip to content

[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. #571

Answered by goto40
goto40 asked this question in Q&A
Discussion options

You must be logged in to vote

The solution 1 described by tao on stackoverflow works for me. I just added "wheel" to the list of callbacks to be patched.

Is this a bug?
It seems to originate from here in kaplay. We could change certain event listeners to be passive? Or does this break something? In this case maybe an option to make them passive here could help?

I am open for suggestions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by goto40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant