Skip to content

Commit 77c5c6b

Browse files
fix: resolve issue with chapterItem opening animation not triggering (#110)
* fix: resolve issue with chapterItem opening animation not triggering * keep animate opacity --------- Co-authored-by: JeelRajodiya <[email protected]>
1 parent 535d3b2 commit 77c5c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/ChapterItem/ChapterItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function ChapterItem({
9393
<div>{title}</div>
9494
</div>
9595
</button>
96-
<Collapse in={isOpen} animateOpacity>
96+
<Collapse in={isOpen} unmountOnExit animateOpacity>
9797
{
9898
<ul>
9999
{steps.map((step, stepIndex) => (

0 commit comments

Comments
 (0)