locomotive-scroll
locomotive-scroll copied to clipboard
for v5, there's no 'is-inview' after 'data-scroll-repeat' is added (on the top of the page)
Hello 👋
Describe the bug For v5, I was trying to add 'data-scroll-repeat' on a element, but there was no 'is-inview' classname on it while reloading the page(the scrollY is '0' => on the top of the page).
- If I remove 'data-scroll-repeat' and it will normal to trigger classname 'is-inview'.
- If I just scroll down 1px and it will normal to trigger classname 'is-inview'.
To Reproduce
Like the screenshot below
Thank you 👊