Update intro.js to avoid starting from wrong Step
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
After reading a few issues on the intro.js repo, looks like v8 contains quite a few important changes altho they don't seem to have a thorough changelog. I've found this migration guide but it looks it does not mention the change you're talking about.
I'm guessing we would need a new major version requiring at least v8 to handle this properly.
Not something I personally would have the time to work on right now, but I'd be happy to review a PR if someone else wants to tackle this and manage to find all the changes needed to make it work with v8 for the entire library, otherwise I'll take a look at it when I have some time.