Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why is scrolling modified on this page? I how to disable it?




Google likes to fuck with basic browser functionality for some reason. Scrolling, sometimes also how “click” intents through touch are triggered (that is, using js listeners for touch events instead of watching for the browser to communicate a “click” on an element; this does usability-killing shit like make a touch-to-stop-scrolling get interpreted as a click on whatever happens to be under your finger). I have no idea why they do this, but they do it a lot, so it must be a cultural thing.

And I don’t mean like some designers will highjack scroll to deliver a different experience like slide-like transitions or something (which may or may not be, differently, awful) but they’ll override it just to give you ordinary scrolling, except much worse (as on this page).

Seems like a lot of work to do just to make something shittier, but what do I know, I probably can’t implement a* on a whiteboard from memory or whatever.


Basic-to-great rationality or skill may not be what is being rewarded here (although the baseline of course needs to be met) - it could well be compliance capability. Hence the string of arbitrary memorization exercises.

> Google likes to fuck with basic browser functionality for some reason.

Apple is the worst offender here. Their product pages are always sluggish.


Yeah, though with theirs I can usually see why they did it (even if I’d rather they didn’t). Google’s MO is messing with scrolling for what often appears to be no user-facing reason at all.

> I can usually see why they did it

wut? scrollhijacking is bad, and doesnt matter who does it.


I never wrote that it wasn’t? In fact I implied I think otherwise, just a few words after what you quoted.

I can't believe these "smooth scrolling" scripts are still a thing. I was wondering why I was having a hard time scrolling the page on my phone, when I got to my PC and felt the reason.

It's incredible to think how many employees of this world-leading Web technology company must have visited this site before launch, yet felt nothing wrong with its basic behavior.


Put this in your browser console to force default scrolling

  var css = 'body { height: auto !important; overflow: auto !important; } .smooth-scroll-wrapper { transform: none !important; position: static !important; } div[style*="position: fixed"] { position: static !important; overflow: visible !important; inset: auto !important; }';
  var style = document.createElement('style');
  style.innerHTML = css;
  document.head.appendChild(style);
  console.log("Default scroll forced.");

Thank you. Seems the website didn't like this btw, Safari macOS. Forced return to top of page when scrolling too fast.

They want everyone to see what the webpage looks like on their Mac.

I'm on a Mac and that scrolling speed is not how Mac's scroll. The acceleration and drag are all wrong.

It's weird and laggy on Mac too. Not sure who this is for.

They could vibe code this feature as well so they did.

Came here to say this, it's super frustrating.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: