You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing a page that is a long list of article teasers. There is CSS animation so that as you scroll down the page the articles fade in one by one. In BackstopJS I have a scenario that scrolls to the bottom of the page to trigger the animations. This doesn't actually work as expected because the browsers scrolls instantaneously, so only the first few are triggered.
However, if we alter the engine scripts to use smooth scrolling, everything works as expected.
The text was updated successfully, but these errors were encountered:
I was thinking that this change might also help lazy-loaded images: just scroll to the bottom of the page rather than adding custom JS to force your lazy-load library to load all images.
I'm testing a page that is a long list of article teasers. There is CSS animation so that as you scroll down the page the articles fade in one by one. In BackstopJS I have a scenario that scrolls to the bottom of the page to trigger the animations. This doesn't actually work as expected because the browsers scrolls instantaneously, so only the first few are triggered.
However, if we alter the engine scripts to use smooth scrolling, everything works as expected.
The text was updated successfully, but these errors were encountered: