ashthornton / asscroll

Ash's Smooth Scroll 🍑
MIT License
947 stars 27 forks source link

Use of Passive listener #64

Closed ashehzadgec closed 3 years ago

ashehzadgec commented 3 years ago

Hi,

How i can implement passive listener with this awesome library. I am trying to implement following code: https://github.com/zzarcon/default-passive-events

Any help will be really appreciated.

ashthornton commented 3 years ago

Hi @ashehzadgec,

It already uses passive events where possible: https://github.com/ashthornton/asscroll/blob/c1c67f97f43177b8b5573e81b1b0659fbe3ba2e0/src/Events.js#L47

What would you like to be able to do exactly?

ashehzadgec commented 3 years ago

That's great, I thought it does not uses.

On Thu, Aug 26, 2021 at 1:26 AM Ash Thornton @.***> wrote:

Hi @ashehzadgec https://github.com/ashehzadgec,

It already uses passive events where possible: https://github.com/ashthornton/asscroll/blob/c1c67f97f43177b8b5573e81b1b0659fbe3ba2e0/src/Events.js#L46

What would you like to be able to do exactly?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ashthornton/asscroll/issues/64#issuecomment-905849549, or unsubscribe https://github.com/notifications/unsubscribe-auth/APQYRBWBPBALOFKBXWU6F7LT6VGXXANCNFSM5CJGWRUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .