fkhadra / react-on-screen

Check if a react component in the viewport
https://fkhadra.github.io/react-on-screen/
MIT License
405 stars 50 forks source link

Works like a charm on my localhost, but isVisible is always true on my deployed sites #65

Open chiku524 opened 3 years ago

chiku524 commented 3 years ago

Any idea why isVisible would always be set to true on my deployed sites?

I was working on my website and on my localhost, it worked perfectly. Now isVisible is always set to true for EVERY div I have wrapped in . This is making the divs run the animations before entering the viewport.

redheet commented 2 years ago

you find that problem @chiku524 ?