diff --git a/src/components/Login/index.tsx b/src/components/Login/index.tsx index 60429702..83e130d5 100644 --- a/src/components/Login/index.tsx +++ b/src/components/Login/index.tsx @@ -201,24 +201,17 @@ const Login = () => { { - loginRef.current?.addEventListener( - 'transitionend', - done, - false - ); - }} + timeout={{ enter: 300, exit: 150 }} onEntered={() => { document .querySelector('#email, #username') ?.focus(); }} classNames={{ - appear: 'opacity-0', - appearActive: 'transition-opacity duration-500 opacity-100', enter: 'opacity-0', - enterActive: 'transition-opacity duration-500 opacity-100', - exitActive: 'transition-opacity duration-0 opacity-0', + enterActive: 'transition-opacity duration-300 opacity-100', + exit: 'opacity-100', + exitActive: 'transition-opacity duration-150 opacity-0', }} >