Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Safari 12.0.1 doesn't work #66

Closed
LucaDb opened this issue Nov 30, 2018 · 5 comments
Closed

Safari 12.0.1 doesn't work #66

LucaDb opened this issue Nov 30, 2018 · 5 comments

Comments

@LucaDb
Copy link

LucaDb commented Nov 30, 2018

Safari 12.0.1 MacOs 10.13.6 the script doesn't seem to work. It's running but whit a normal wheel mouse the scroll behavior looks jumpy.

This is the best smooth scroll script i've ever tried!

Thanks

@LucaDb
Copy link
Author

LucaDb commented Nov 30, 2018

The issue seems related to this line
isDivisible(event.wheelDeltaY, 120)

Always returning false on Safari 12 Os 10.13.6
Hope this helps

@gblazex
Copy link
Owner

gblazex commented Mar 14, 2019

yes safari sends scroll values that are non uniform e.g. 3, 43, 12, 4, 5

SmoothScroll cannot currently handle these.

It only knows browsers that send events that are uniform e.g.: 120, 120, 120, -120, -120
or 360, 360, 360, -360, 360

@vladimirpikul
Copy link

So, is there gonna be a solution? Really need it...

@gblazex
Copy link
Owner

gblazex commented Oct 22, 2019

duplicate of #16

@gblazex gblazex closed this as completed Oct 22, 2019
@gblazex
Copy link
Owner

gblazex commented Oct 22, 2019

there might be but havent been working on it yet

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants