Fix fade in clsoing of performer card

This commit is contained in:
2026-06-16 21:10:30 +03:00
parent 1f8b9bedc0
commit 6f46083a90

View File

@@ -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>