garris / garris/BackstopJS

Taking a screenshot after scrolling is generating a bad image

Open
#1,318 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

I'm using Backstop 5.3.0 and scrolling to the bottom of the page is generating an image with some blank content.

I also noticed that the bigger the scroll, the worse the image.

No scroll image (it shows the page correctly):

1/4 scroll image (there is some blank content, specially at the bottom of the file):

1/2 scroll image (more blank content):

complete scroll image (even more blank content):

Code example:
https://replit.com/@jkevingutierrez/backstop-scroll#backstop_data/engine_scripts/puppet/onReady.js

Note: The code can't be run in replit because of some missing binaries, but it can be run locally

Also, it works well in v5.1.0, the problem occurs in v5.3.x

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.