Skip to content

Conversation

mikeesto
Copy link
Contributor

Resolves:

Fix animations in pages/index.js: useEffect hook is used to run the animations but the problem is when page changes it still runs for some reason and I don't know how to fix it. Update: I tried a clean up function to remove the child nodes but no good.

In #913 (comment)

There's some good discussion in #790 about using CSS or GIFs/videos for the animations. This is more a bandaid fix!

@carolstran carolstran added 🐛 Bug 👾 Gatsby Related to the Gatsby migration labels Oct 17, 2020
Copy link
Member

@carolstran carolstran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with this as a temporary fix! Especially as we have an issue open about CSS animations already. Pinging @IvanGoncharov to review before merging 🕺🏼

Thank you @mikeesto!

@Urigo
Copy link
Contributor

Urigo commented Oct 20, 2020

Thank you @mikeesto !
We've integrated it into #936
Could you review and make sure it work good there?

Thanks

@mikeesto
Copy link
Contributor Author

mikeesto commented Nov 3, 2020

Thanks @Urigo . This has been merged in #938 so I'm closing this.

@mikeesto mikeesto closed this Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug 👾 Gatsby Related to the Gatsby migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants