Answers for "Added non-passive event listener to a scroll-blocking wheel event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>"

1

Added non-passive event listener

elementRef.addEventListener("touchstart", handler, passiveEvent);
Posted by: Guest on November-22-2020

Code answers related to "Added non-passive event listener to a scroll-blocking wheel event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>"

Browse Popular Code Answers by Language