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
{{ message }}
This repository was archived by the owner on Nov 3, 2019. It is now read-only.
I'm seeing sporadically broken screenshots. Often they are clipped too small vertically, but other times the target component is only partially loaded.
It seems like a timing issue, because I'm able to mitigate the issue using puppeteer's slowMo config option. (20ms worked well for me, YMMV.)
I suspected that it could be related to our styleguide using an intersection observer to defer loading of components, but eliminating that did not help.
I'm seeing sporadically broken screenshots. Often they are clipped too small vertically, but other times the target component is only partially loaded.
It seems like a timing issue, because I'm able to mitigate the issue using puppeteer's slowMo config option. (20ms worked well for me, YMMV.)
I suspected that it could be related to our styleguide using an intersection observer to defer loading of components, but eliminating that did not help.
Versions:
"react-styleguidist": "7.0.14",
"react-styleguidist-visual": "0.5.0",
Clipped too short example:

Actual:
Expected:

Partially Loaded example:

Actual:
Expected:

Styleguidist Elements Visible

Actual
Expected
