LibreChat/packages/client
lia-by-librechat[bot] 4f0ef1941f
🫁 fix: Ease Context Usage Popover Size Transitions (#18160)
* 🫁 fix: Ease Context Usage Popover Size Transitions

Expanding snapped the card to its wide width in one frame; collapsing snapped it narrow first, reflowed the details into one column and made the card taller than it had been before rolling up.

- The popover owns the card width and eases it at the pace of the roll it travels with.
- The details hold the wide card's width through both rolls, so the card uncovers one settled layout.
- The per-tool breakdown and the usage sections roll instead of jumping.
- A press inside the card pins it, so a control that shrinks it from under the pointer no longer closes it.

* 🫁 fix: Restart the Details Width Hold on Every Opening

A collapse reversed midway kept the details mounted with their mount-time hold already spent, so they reflowed to the narrowing card, flashed one column and gave the roll a taller height to snap back from. The hold is now keyed to the open state and restarts with each opening.

A card that opens already expanded resizes nothing, so it no longer holds: with a classic scrollbar on a viewport-capped card the held width could sit across the two-column threshold from the settled one.

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-11-14 12:21:06 -05:00
..
src 🔧 refactor: Move the Tool Call Card Into @librechat/chat (#18135) 2026-11-14 18:16:55 +01:00
babel.config.js
jest.config.js
jest.resolver.cjs
jest.setup.ts
package.json 🥐 chore: Standardize Bun-First Workspace Typechecks (#17651) 2026-10-30 16:33:52 +01:00
tailwind.compat.cjs
tailwind.config.js
tailwind.preset.cjs 🫁 fix: Ease Context Usage Popover Size Transitions (#18160) 2026-11-14 12:21:06 -05:00
tsconfig.json 🥟 ci: Type-Check Workspaces with bun check (#17009) 2026-10-12 06:40:07 -04:00
tsconfig.test.json
tsdown.config.mjs 🕰️ fix: Refresh Copied Client Bundle Timestamps After Build (#17906) 2026-11-08 19:31:55 +01:00