akiran / akiran/react-slick

Google Lighthouse shows warning about passive event listeners

Open
#2,124 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

Google Lighthouse shows the following warning:
![image](https://user-images.githubusercontent.com/9335692/151980972-bff26aa8-fc15-46e4-abdf-1a70f55f60e9.png)

The warning doesn't show up when setting `touchMove` to `false` in the slider options, so the issue seems to come from the touchEvents (which probably should be set to passive):

https://web.dev/uses-passive-event-listeners/?utm_source=lighthouse&utm_medium=devtools

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.