default-passive-events icon indicating copy to clipboard operation
default-passive-events copied to clipboard

Integration with Smooth Scroll e.g Locomotive Scroll

Open ashehzadgec opened this issue 2 years ago • 1 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

ashehzadgec avatar Aug 14 '21 07:08 ashehzadgec

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 avatar Sep 07 '21 11:09 FRSgit

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!

FRSgit avatar Aug 25 '23 08:08 FRSgit