TylerBarnes / gatsby-plugin-transition-link

A link component for page transitions in gatsby
537 stars 71 forks source link

Doesnt play nicely with React-Reveal #87

Open joebentaylor opened 5 years ago

joebentaylor commented 5 years ago

Hey, me again!

I finally got this working properly after the last issue i posted with your help @TylerBarnes with the fonts...

However im trying to include React-Reveal inside of my project, but its causing a very similar issue, When i navigate to another page the content doesnt show and then flashes in.

Now ive checked the React-reveal git for this problem and nobody has mentioned it and nobody has gotten back to me either, so i wondered if maybe this was an issue caused by transition link?

Hope you can shed some light on this for me.

TylerBarnes commented 5 years ago

Hey @joebentaylor this is likely related to this issue https://github.com/TylerBarnes/gatsby-plugin-transition-link/issues/77 if react-reveal is using position fixed. If that issue doesn't help you, if you can provide a demo repo I can debug and give you a hand.

joebentaylor commented 5 years ago

Im going to try this now. Its not just with react reveal either, I've found using react-slick the page that the slider is on waits a second before content loads in. Will try recreating this for you to debug

joebentaylor commented 5 years ago

From the docs, it doesnt seem like react-reveal uses position fixed