-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work on Safari macOS (10.11+) #16
Comments
I can confirm this. But it's Safari only for you as well right? Works for me in Chrome & El Cap |
(probably Safari 9 to be exact, might be happening under other versions of OS X with that version of Safari) |
Thanks for getting back so quickly! :) Hmm, for me it seems not to be working on any browser:
Just added a test here http://hogash-demo.com/marius/smoothscroll/testing.html . Probably it's not the case, but could the actual mouse make a difference? |
works for me on that page in Chrome stable and Canary |
seems to me Deltas are reported differently for Mouse wheel & Trackpad In Safari 9: All other browsers do the opposite as far as I can remember. |
Don't have much free time to debug this. The solution would have to work both on El Cap and Older versions. Right now it degrades gracefully as far as I can see (meaning nothing is broken, it's just not smooth on El Cap). |
No worries @galambalazs thanks for your time! I will continue to debug and measure the deltas on my comp. vs others. I also think my mouse might be a problem too ( Master MX with custom drivers ). |
what kind of values do you see here with your mouse vs with your trackpad: |
Here you go: Mouse:
Trackpad:
|
+1 Can confirm, this isnt working on el capitan. On all browsers. Smoothscroll on keypress works. If you need some console data from me as well just holla. |
Version 1.3.8 is working fine when the script is inside the .html and not as an external file. |
@galambalazs came back on the issue and tried at least to find the cause of the problem. For the moment i found out that I'll try to find a solution, but i first need to understand better how it all works and i'm afraid it might take a while, so if you have any suggestions, please throw in. PS: My setup is the same
Thanks! |
So, you're the one who has foisted SmoothScroll upon us Mac Users? StarTrek.com uses SmoothScroll, and I've been scouring the web desperately searching for some way, ANY WAY, to make this script be gone for ever. The Mac does NOT need any help from a third party script to get it to scroll properly. The scrolling on startrek.com is basically the worst and most broken scrolling experience I've ever seen on any website. Disable Javascript and scrolling goes back to the buttery smooth elastic experience that every other normal website has. I'm on Sierra, on a MacBook Pro 2016. |
I'm not opposed to people messing around and having fun writing scripts. But now major websites have adopted this script, and it literally destroys the user experience. And now there is nothing that I can do to get back what is otherwise perfectly normal and really great scrolling. You have no idea how frustrating it is that your junky buggy script is ruining otherwise perfectly good websites. |
Whoa! Sorry @gnacu but you're literally blaming the wrong side here. Anyone using it, and especially a multi-billion dollar company should afford a few testers and QA to seek such UX issues and apply very simple workarounds to disable smooth scrolling on Macs. Do know this is an open source project and there's barely a few people contributing on it https://github.com/galambalazs/smoothscroll-for-websites/graphs/contributors .
Take 5 minutes and write a simple email to StarTrek.com's web dept (or a shout on Twitter) and i bet they'll fix this right away. |
@gnacu Your criticism is valid but misplaced. That site uses a very outdated version of this script that is almost 2 years old (v1.3.8 vs v1.4.6). I publish an open source library here and also via package managers (npm, bower, etc.). Site owners have the ability as part of their build process to grab the latest version automatically. This library doesn't change often but when we're talking about 2 years lots of things might change. Contact the site owners to update the library. Cheers |
You're right. It is indeed the fault of Startrek.com for adopting the script, and then not keeping it up to date, or testing to see how broken it makes macOS/Safari. But, I don't have a platform for complaining to them. I did, however, discover that adblock plus can be used with a custom filter to block individual scripts from specific or pattern matched domains. So, at the very least I'm able to block it. |
Hi, |
Hi @gblazex, Here is the polyfill for fixing the smooth behavior on Safari. Can it be possible to work on Safari with your library too? |
No
CSS Scroll behavior is easy to implement in Safari because it’s a simple one time animation.
The problem with Safari is how it handles mouse wheel even deltas.
Mouse input is not handled by that simple project
Blaze
|
Checking in to see if there's any hope in the Safari pipeline. Seems Safari is really trying to force those trackpads, even for desktops. |
I fixed the problem by the Native SmoothScroll application for Macs.
Whoever needs smooth mouse wheel scrolling can use that.
Blaze
|
Roger. Looking for something that forces the state for users, not myself. Appreciate you work either way, SmoothScroll plugin works great for all but Safari. Seems thats as close as I'm getting until Apple changes something. |
Yes it's not possible in JS with how Apple made Safari I'm afraid.
Blaze
|
Hey @galambalazs great work!
I seem to make it work properly on Windows, however not on Mac (OSX El Capitan).
isMac var. is detecting mac and code is running, but still, the smooth scroll doesn't work and can't figure out why. Would be great for someone to confirm this issue as i only have one OSX machine around.
Thanks!!
The text was updated successfully, but these errors were encountered: