Skip to content

fix: restore smooth Collapsible panel height animation - #113

Open
elviskahoro wants to merge 1 commit into
LineIndent:mainfrom
elviskahoro:fix/collapsible-height-animation
Open

elviskahoro wants to merge 1 commit into
LineIndent:mainfrom
elviskahoro:fix/collapsible-height-animation

Conversation

@elviskahoro

Copy link
Copy Markdown
Contributor

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.

This branch has not been deployed

No deployments
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.

1 participant