Fade-out on unmount #1022
Answered
by
mattrossman
ThomasRutzer
asked this question in
Q&A
-
Hi, is there any possibility with Thanks a lot for the suggestions! |
Beta Was this translation helpful? Give feedback.
Answered by
mattrossman
Feb 22, 2021
Replies: 1 comment 1 reply
-
Sure, here's an example with You can see in the console that it unmounts after the fade transition is complete. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ThomasRutzer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure, here's an example with
useTransition
https://codesandbox.io/s/r3f-fade-unmount-sdjch
You can see in the console that it unmounts after the fade transition is complete.