mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-15 04:35:57 +05:30
Fix popup animation
This commit is contained in:
parent
57924cac79
commit
23ed66d844
@ -22,7 +22,9 @@ export class PopupStack extends Component {
|
||||
<ReactCSSTransitionGroup
|
||||
transitionName={{
|
||||
enter: styles.trEnter,
|
||||
leave: styles.trLeave
|
||||
enterActive: styles.trEnterActive,
|
||||
leave: styles.trLeave,
|
||||
leaveActive: styles.trLeaveActive
|
||||
}}
|
||||
transitionEnterTimeout={500}
|
||||
transitionLeaveTimeout={500}
|
||||
|
@ -112,7 +112,7 @@ $popupPadding: 20px;
|
||||
transform: translateY(-30%);
|
||||
}
|
||||
|
||||
&-active {
|
||||
&Active {
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s ease-in;
|
||||
|
||||
@ -132,7 +132,7 @@ $popupPadding: 20px;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
&-active {
|
||||
&Active {
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease-in;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user