usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.8k stars 2.59k forks source link

Scrolling doesn't work inside a div with overflow:scroll #182

Closed iamdanfox closed 6 years ago

iamdanfox commented 11 years ago

Place some content into div.container, with CSS overflow:scroll. Create your IntroJs object:

intro = introJs('.container')

The div will not autoscroll if a step's element is outside of the visible rectangle.

iamdanfox commented 10 years ago

I needed a library that would work inside a scrolling container div, so I wrote one called anno.js.

Anno.js works inside scrolling divs: http://iamdanfox.github.io/anno.js/#scrolling-inside-divs

Purus commented 10 years ago

+1

erikmourits commented 8 years ago

Is there a workaround for this problem?

fortunee commented 7 years ago

I'm still having a problem with this, is there a work around for it yet?

jasonphillips commented 6 years ago

This appears to have been addressed by https://github.com/usablica/intro.js/pull/801 -- which isn't published yet, but is in the latest development code. It worked for us, in any case; perhaps this can be closed.