Skip to content

fix: restore smooth Collapsible panel height animation - #113

Merged
LineIndent merged 1 commit into
LineIndent:mainfrom
elviskahoro:fix/collapsible-height-animation
Oct 21, 2026
Merged

LineIndent merged 1 commit into
LineIndent:mainfrom
elviskahoro:fix/collapsible-height-animation

Conversation

@elviskahoro

Copy link
Copy Markdown
Collaborator

Collapsible panels snap open and closed because the height state selectors (data-[ending-style]:h-0, data-[starting-style]:h-0) had no transition applied to height.

Adds transition-[height] duration-200 ease-out to the panel class, matching the Accordion timing so both components animate consistently. Updates both the component and its doc example.

Collapsible panels snap open and closed because the height state selectors have no transition. Match Accordion timing so both interactions animate consistently.
@LineIndent
LineIndent merged commit 8243916 into LineIndent:main Oct 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants