Skip to content

Commit

Permalink
fix: resolve issue with chapterItem opening animation not triggering (#…
Browse files Browse the repository at this point in the history
…110)

* fix: resolve issue with chapterItem opening animation not triggering

* keep animate opacity

---------

Co-authored-by: JeelRajodiya <[email protected]>
  • Loading branch information
techmannih and JeelRajodiya authored Nov 24, 2024
1 parent 535d3b2 commit 77c5c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ChapterItem/ChapterItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default function ChapterItem({
<div>{title}</div>
</div>
</button>
<Collapse in={isOpen} animateOpacity>
<Collapse in={isOpen} unmountOnExit animateOpacity>
{
<ul>
{steps.map((step, stepIndex) => (
Expand Down

0 comments on commit 77c5c6b

Please sign in to comment.