File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,24 +201,17 @@ const Login = () => {
201201 < CSSTransition
202202 key = { mediaServerLogin ? 'ms' : 'local' }
203203 nodeRef = { loginRef }
204- addEndListener = { ( done ) => {
205- loginRef . current ?. addEventListener (
206- 'transitionend' ,
207- done ,
208- false
209- ) ;
210- } }
204+ timeout = { { enter : 300 , exit : 150 } }
211205 onEntered = { ( ) => {
212206 document
213207 . querySelector < HTMLInputElement > ( '#email, #username' )
214208 ?. focus ( ) ;
215209 } }
216210 classNames = { {
217- appear : 'opacity-0' ,
218- appearActive : 'transition-opacity duration-500 opacity-100' ,
219211 enter : 'opacity-0' ,
220- enterActive : 'transition-opacity duration-500 opacity-100' ,
221- exitActive : 'transition-opacity duration-0 opacity-0' ,
212+ enterActive : 'transition-opacity duration-300 opacity-100' ,
213+ exit : 'opacity-100' ,
214+ exitActive : 'transition-opacity duration-150 opacity-0' ,
222215 } }
223216 >
224217 < div ref = { loginRef } className = "button-container" >
You can’t perform that action at this time.
0 commit comments