Hacker News new | ask | show | jobs
by tschwimmer 2784 days ago
This site somehow manages to interfere with trackpad gestures on my MBP. I could not swipe back or forward. How is this even possible?
3 comments

They've written their own scrolling logic (why...) which involves cancelling or stopping propagation of the normal gesture and events. They broke scrolling on purpose and accidentally broke other things in the process.
The absolute state of web development...
I wish there was a single flag to disable all that crap such that developers had to consider users who have the flag set, better still if it's on by default or behind a permission check

'This site would like to hijack your scroll wheel/touchpad', it's genuinely infuriating.

That flag is called “Disable JavaScript”.
They load something called smooth scroll, which is for creating mac like smooth scrolling on other systems.

https://blog.gitprime.com/wp-content/themes/Divi/js/smoothsc...

In chrome you can open the network tab, filter on JS, find the smoothscroll request and right click and block it :D

I decided to use the feedback/chat mechanism at the bottom right to suggest they don't do this. Maybe with enough feedback...