Skip to content

Framer-motion animation when I change a locale from one to another #1792

Answered by isaachinman
belkocik asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible in theory, but you would need to apply the animation above the appWithTranslation level. So you'd need to create another "animation HOC" and wrap:

const MyApp = () => { ... }

export default appWithAnimation(
  appWithTranslation(MyApp)
)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@belkocik
Comment options

Answer selected by belkocik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants