Skip to content

Delay before the component loads #2273

@nikableh

Description

@nikableh

Hello,

I am using @giscus/vue 3.1.1. There is an issue where the component has a ~1 second delay before it begins to load. You can see this behavior in action here. This is really annoying since the user sees an empty page until the iframe is downloaded and the loading indicator is shown.

Is there any way to show a loading indicator immediately?

<template>
    <Giscus
        id="comments"
        repo="nikableh/nikableh.moe"
        repoId="R_kgDOPgzt-A"
        category="Giscus"
        categoryId="DIC_kwDOPgzt-M4C0Qiw"
        mapping="pathname"
        strict="0"
        reactionsEnabled="0"
        emitMetadata="0"
        inputPosition="top"
        theme="gruvbox_dark"
        lang="en"
        loading="eager"
    />
</template>
Screencast.From.2025-12-28.23-57-10.webm

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