Tuesday, June 28, 2016

PSA: Enable Scroll Anchoring in Google Chrome to Prevent Annoying Page Jumps

There are a ton of awesome features hidden away in many Google apps that are rarely hyped up namely due to a lack of advertisement by Google. One such feature hidden away in Google Chrome’s chrome://flags page is the Scroll Anchoring feature.

Introduced back in April initially only in Google Chrome Dev v51 builds, the feature prevents your webpage from “jumping” whenever offscreen content such as ads or images are loading. I’m sure you’ve run into this issue before, it happens fairly frequently for any user who quickly jumps from one webpage to another, perhaps when reading articles with tons of images. Your only real solution to this is to patiently wait for the entire webpage to fully load before clicking on any link, but who has time for that?

Sufficiently bothered by this issue yet? If so, then head on over to chrome://flags/#enable-scroll-anchoring (paste this into your URL address bar), enable the flag, then relaunch the browser. After you’ve enabled this feature, you should no longer suffer from text reflows due to the loading of offscreen content, but as Google Chrome’s developers note your mileage may vary. If you do notice a webpage incorrectly reflow even after enabling this feature, you can report it straight to the developers by following this link.

It’s worth noting that Google may choose to can this feature whenever they want, as any feature that lives in the chrome://flags page is technically only for beta testing purposes. However, since this feature has already survived two version changes in Google Chrome Dev, we don’t expect it to suddenly disappear in the next week or so. As the stable build of Google Chrome is now on v51, all users of Chrome browser on Android can take advantage of this feature. We’re not exactly sure why this feature hasn’t been enabled by default in any build of Chrome, but my tinfoil hat tells me it’s so that you will accidentally click on advertisements.


Thanks to DaShata over on /r/Nexus6P for pointing this out!

HostGator Web Hosting

0 comments:

Post a Comment