Fix fade in clsoing of performer card
This commit is contained in:
@@ -79,7 +79,7 @@ const Archive = () => {
|
|||||||
<CSSTransition
|
<CSSTransition
|
||||||
in={expandedYears[year]}
|
in={expandedYears[year]}
|
||||||
timeout={300}
|
timeout={300}
|
||||||
classNames='heightTransition'
|
classNames='fadeTransition'
|
||||||
unmountOnExit
|
unmountOnExit
|
||||||
>
|
>
|
||||||
<div className={styles.yearPerformersContent}>
|
<div className={styles.yearPerformersContent}>
|
||||||
@@ -109,18 +109,15 @@ const Archive = () => {
|
|||||||
</div>
|
</div>
|
||||||
<CSSTransition
|
<CSSTransition
|
||||||
in={p.showDesc}
|
in={p.showDesc}
|
||||||
timeout={1000}
|
timeout={300}
|
||||||
classNames='fadeTransition'
|
classNames='fadeTransition'
|
||||||
|
unmountOnExit
|
||||||
>
|
>
|
||||||
{p.showDesc ? (
|
|
||||||
<div>
|
<div>
|
||||||
{p.paragraphs.map((parag, index) => (
|
{p.paragraphs.map((parag, index) => (
|
||||||
<p key={index}>{parag.toString()}</p>
|
<p key={index}>{parag.toString()}</p>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
|
||||||
<span></span>
|
|
||||||
)}
|
|
||||||
</CSSTransition>
|
</CSSTransition>
|
||||||
<hr />
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user