Skip to content

Anyway to force a reload on viewport resize on a per-story basis? #893

@jscott-yps

Description

@jscott-yps

The puppeteer CLI option > doubles the screenshot time. We only have a couple of stories that would actually need this. Primarily because they hide/show UI on vue component mount depending on the screensize. When resizing the viewport they won't display.

In an ideal world we could do

screenshot: {
    reloadOnViewportChange: true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions