You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if it is enough to replace in the library this row elem[ bindMethod ]( startEvent, this );
by elem[ bindMethod ]( startEvent, this, /^(touch|wheel)/.test(startEvent) ? { passive : true } : false );
Passive support should also be detected for old browsers.
The text was updated successfully, but these errors were encountered:
In diagnostic section in PageSpeed for page with Flickity 2.3.0
https://pagespeed.web.dev/analysis/http-kod-djpw-cz-lfld-/640hzu4fjs?form_factor=mobile
is
Does not use passive listeners to improve scrolling performance
Consider marking your touch and wheel event listeners as passive to improve your page's scroll performance. Learn more about adopting passive event listeners.
I don't know if it is enough to replace in the library this row
elem[ bindMethod ]( startEvent, this );
by
elem[ bindMethod ]( startEvent, this, /^(touch|wheel)/.test(startEvent) ? { passive : true } : false );
Passive support should also be detected for old browsers.
The text was updated successfully, but these errors were encountered: