Skip to content

Update intro.js to avoid starting from wrong Step #119

@Interpause

Description

@Interpause

Describe the bug

In newer versions of intro.js (v8.3.2), it seems they have switched to counting from 0. This means now despite setting initialSteps to 0, the Steps start at the 2nd step now. This can be workaround by downgrading intro.js version, but I want to use the newer intro.js default style.

To Reproduce

Will add more details when I have time to give detailed reproduction. In short, npm i intro.js and intro.js-react without any version constraints (getting the latest versions as a result).

Traced last working version to be ^7.0.0 (so 7 or greater), ^8.0.0 is broken.

Expected behavior

Should start from the first step when setting initialStep to 0.

How often does this bug happen?

Every time

System Info

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions