Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Sapper renders the page twice #1704

@retraigo

Description

@retraigo

Whenever I switch between mobile and desktop site, I get an issue where the page is rendered again after the bottom of the page.

(eg)

header
body (with client side stuff)
footer
header (duplicate)
body (without client side stuff)
footer (duplicate)

The duplicate part is non-functional, ie, scripts do not get executed there. I'm using the sapper template and I'm kinda new to sapper, so I appreciate help.

Edit:

To reproduce this, it happens even when I run the plain sapper template without modifying it. (clone the sapper template repo & run dev/start it)

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