Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap compatibility #72

Closed
darthnorman opened this issue Nov 24, 2020 · 2 comments
Closed

Bootstrap compatibility #72

darthnorman opened this issue Nov 24, 2020 · 2 comments

Comments

@darthnorman
Copy link

Instead of using the ".visible" and ".invisible" class, try to prefix them so they don't interfere with Bootstrap's visibility classes.
https://getbootstrap.com/docs/4.5/utilities/visibility/

@thezacharytaylor
Copy link

You can modify the classes toggled via the options to get around that for such cases.

let scrollTrigger = new ScrollTrigger({ trigger: { toggle: { class: { in: 'st-visible', out: 'st-invisible', }, }, }, }),

@terwanerik
Copy link
Owner

Thanks @dontskipnine, closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants