Johann-S/bs-stepper

Error on initializing stepper

lcsqlpete opened this issue · 3 comments

I'm getting error "Cannot read property 'classlist' of null" on the line that creates a stepper instance. My code is:

$(document).ready(function () {
    var stepper = new Stepper($('.bs-stepper')[0])
})

There is a div with class bs-stepper on the page. The stepper is within a bootstrap modal in case that matters.

Never mind, fixed it.

Never mind, fixed it.

I have the same issue but I am using vue.js.
Could you tell me how to fix the bug?

@sky7st if you can provide a live example using CodePen/JS Bin or Stackblitz and report back with your link I can help you 😉