rnosov / react-reveal

Easily add reveal on scroll animations to your React app
https://www.react-reveal.com/
MIT License
2.72k stars 180 forks source link

react-reveal is not working in iphone when route changed #49

Open bhumi0901 opened 5 years ago

bhumi0901 commented 5 years ago

I am using react-reveal on my website. When I am changing route and go to the page where react-reveal is used, it doesn't show the animated content but when I am refreshing the page then everything works fine. This issue happens only in iPhone only, in Android, everything works fine.

What is the reason for this?

rnosov commented 5 years ago

Can you see the same bug on the https://www.react-reveal.com/ ? If not then that would suggest to me that container is not being remounted on ios for some reason. In that case, can you console.log the output of the componentDidMount() of the container and check if the container is remounted on the route change.

bhumi0901 commented 5 years ago

Hello, @rnosov I have tried to console.log the output inside the componentDidMount() method and it's showing the log output there. Can you please help me to fix this issue?

jojobagings78 commented 4 years ago

Got same issue as well as 2-3 other people I talked to have same issue and didnt use the library seems to be a big issue with many but no response on this major issue ?