Skip to content

v1.0.1

Choose a tag to compare

@mmdju mmdju released this 22 Nov 18:42
· 12 commits to main since this release

Fix

accordion-os — the open panel no longer jumps in scaled frames.

  • The claim's height is animated in CSS (grid-template-rows: 0fr → 1fr) instead of being measured by motion. Inside a scaled frame (transform: scale(...) — a gallery card, a preview stage) that measurement came back scaled down, so the panel stopped at half of its text height and then snapped open at the end.
  • A closing pill keeps its own label width again: the width is CSS-only now (290px open, fit-content closed) instead of a motion animation that read auto while the claim was still mounted, leaving the closed pill narrower than its own text.
  • No API change; props, defaults and install stay the same.

Install is unchanged:

npx shadcn@latest add @farsify/accordion-os

Full diff: v1.0.0...v1.0.1