Mozilla applied a function referred to as Scroll Anchoring in Firefox Nightly just lately that fixes a really annoying scrolling associated challenge.
Here is the problem: open any website with a superb variety of pictures or different content material and fairly a little bit of textual content. Scroll down whereas the web page nonetheless hundreds and keep on a hard and fast position. The loading of content material similar to pictures adjustments the position on the web page.
I expertise the problem commonly, as an illustration when beginning to learn a protracted article or textual content on a website with out ready for all content material to be loaded on it. The loading of pictures and different content material that takes up area might transfer the seen a part of the web page in order that I’ve to scroll once more to return to the position I used to be at.
Images, media, and different content material on the web page will not be loaded instantly. It is determined by numerous elements similar to measurement of information or the variety of pictures on the web page.
The challenge could also be skilled on dynamic pages as nicely that load content material because the consumer scrolls the web page.
Bug 1305957 on Mozilla’s bug monitoring website, Page scroll position will not be constant whereas content material is loading (implement “scroll anchoring”), was opened two years in the past. Mozilla plans to launch the change in Firefox 66 Stable and has already applied in Firefox Nightly, the leading edge improvement model of the browser.
Scroll Anchoring help in Firefox fixes the problem. The seen a part of the web page stays in sight whereas the web page is loading if the consumer scrolls down earlier than the load occasion completes.
Google implemented Scroll Anchoring a while in the past within the firm’s Chrome browser. The firm launched Scroll Anchoring as an experimental function that customers needed to allow on chrome://flags and enabled the function by default again in 2016 for all customers of the browser.
The implementation of Scroll Anchoring is a welcome addition to the Firefox browser because it resolves an annoying challenge that some Internet customers ran skilled.
Now You: What is your tackle Scroll Anchoring in Firefox?