locomotivemtl / locomotive-scroll

🛤 Detection of elements in viewport & smooth scrolling with parallax.

Home Page:https://locomotivemtl.github.io/locomotive-scroll

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v5 .is-inview class not being removed when leaving viewport, similar issue with data-scroll-call

MontroseSt opened this issue · comments

the "is-inview" attribute is not being removed when an element is leaving the viewport. Demo

I had an similar issue when using the data-scroll-call in v5. Both "is-inview" class as well as the data-scroll-trigger when leaving the viewport didn't work. However, both appear to work fine when using the data-scroll-call without any other triggers DataScroll Demo