locomotive-scroll icon indicating copy to clipboard operation
locomotive-scroll copied to clipboard

for v5, there's no 'is-inview' after 'data-scroll-repeat' is added (on the top of the page)

Open boss006133 opened this issue 1 year ago • 0 comments

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).

  1. If I remove 'data-scroll-repeat' and it will normal to trigger classname 'is-inview'.
  2. If I just scroll down 1px and it will normal to trigger classname 'is-inview'.

To Reproduce Like the screenshot below 螢幕擷取畫面 2023-12-06 182851 螢幕擷取畫面 2023-12-06 184613

Thank you 👊

boss006133 avatar Dec 06 '23 10:12 boss006133