W
W
Worddoc2019-02-04 20:34:55
Animation
Worddoc, 2019-02-04 20:34:55

How to set up a react-transition group?

Hello. I set up a page transition without any problems by wrapping the router in a react-transition-group. But when it came to that single component (modal), I was completely stuck. We need to make sure that the CustomModal component can animate when mounting and unmounting. The documentation doesn't help. I really hope to help!
Sandbox: https://codesandbox.io/s/wn0kkoq4w7

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-02-04
@Worddoc

https://codesandbox.io/s/yqjkoj27z1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question