Answer the question
In order to leave comments, you need to log in
How to animate the appearance of a modal window through the portal?
Good afternoon!
In a react project, I'm making a modal window using portal.
You style animate keyframes to opacity from 0 to 1 in 0.5s.
But the modal window still appears instantly.
Is it possible to animate his appearance?
I know about ready-made libraries of modal windows, but I want to understand how to do this without using them.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question