zzarcon/default-passive-events

Integration with Smooth Scroll e.g Locomotive Scroll

ashehzadgec opened this issue · 2 comments

Hi there,

Thanks for sharing this tool. I am curious how I can integrate it with smooth scroll libraries like locomotive scroll (https://github.com/locomotivemtl/locomotive-scroll). Any kind of help or guidance is really appreciated.

I am a lover of smooth scroll so it would be a huge help.

Regards,
Shehzad Asif

Hello @ashehzadgec!

First thing - to understand how this library works, what's its scope - have a look here: #32
Secondly - it seems that the locomotive-scroll library already supports passive events. If you have a look here and here. Maybe you could just pass passive: true as an option to the library?

Have a great day!

FRSgit commented

Hey!

I'm closing this issue due to inactivity. Please open new one if you feel that some problem still exists.

Thanks for the conversation!