forcedotcom / scrollerjs

A JavaScript library that helps you build performant UI components for the web.
http://scrollerjs.com
Apache License 2.0
635 stars 63 forks source link

Does it work well with Twitter Bootstrap? #30

Closed isuhendro closed 8 years ago

isuhendro commented 8 years ago

For existing project using Twitter bootstrap, i found scrollerjs default behaviour that trying to add scroller-wrapper CSS class having overflow: hidden is conflicting with Twitter bootstrap fluid layout

            this.wrapper.classList.add('scroller-wrapper');
.scroller-wrapper {
    position: relative;
    overflow: hidden;
}

The outcome is the list of elements inside the wrapper (that actually overflow getting hidden), and to resolve it i need to remove overflow:hidden style. I suspect I would break existing scrollerjs library one way or the other, is there any suggestion?

isuhendro commented 8 years ago

Resolves it after adding #wrapper CSS class to the container (copied from the sample page).