IGreatlyDislikeJavascript / bootstrap-tourist

Quick and easy way to build your product tours with Bootstrap Popovers for Bootstrap 3 and 4. Based on Bootstrap-Tour, but with many fixes and features added.
63 stars 36 forks source link

$modalObject not defined #35

Closed Sell24 closed 5 years ago

Sell24 commented 5 years ago

Hi,

I downloaded the latest release and, in full disclosure, am trying to get a basic tour as shown in the example to work in VueJS built on BS4 .

However, I ran into a "Uncaught ReferenceError: $modalObject is not defined" error at line 1253. In order to fix it, I had to declare it within the Tour.prototype.showStep function.

I haven't quite got it to work yet, as it is failing in the _scrollIntoView function, but if I can't figure out why I will ask in a separate issue.

Sell24 commented 5 years ago

Just in case anyone reads my last sentence, where I could not get it to work with BS4. BS4 uses the slim version of jQuery by default. In order to use the animation features you must change to the full (minified) version.

IGreatlyDislikeJavascript commented 5 years ago

Thanks for finding this one too. This is already fixed in the unstable/new-backdrop, which will become main branch shortly, so a fix is imminent.

IGreatlyDislikeJavascript commented 5 years ago

v0.3.0 uploaded into master branch, this issue should be fixed.