Repository navigation
v1.0.1
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 bymotion. 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 (
290pxopen,fit-contentclosed) instead of amotionanimation that readautowhile 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-osFull diff: v1.0.0...v1.0.1