Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/thread-layout-repin.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @intentface/chat

## 0.5.1

### Patch Changes

- [#85](https://github.com/Intentface/intentface-chat/pull/85) [`b49fb7a`](https://github.com/Intentface/intentface-chat/commit/b49fb7a0c2948beb46ed9c9864ee4ba676940147) Thanks [@rpvilo](https://github.com/rpvilo)! - `Thread` keeps the bottom pinned while its container is resized.

**Resizing with a long last turn.** Dragging a chat window's height let the bottom drift out of view until the next content change re-pinned it, whenever the last turn was taller than its reserve: the content didn't change size, so nothing fired. The follow now observes the scroller as well as the content, so a resize re-pins in the same frame.

**No smooth scroll queued behind a resize.** One resize settles over several observer passes in a frame: the scroller's box changes first, then the content resizes to the new reserve a pass later. That later pass read as content growth and queued a smooth scroll behind the instant re-pin. Re-pins now stay instant for the rest of a frame in which the scroller resized.

New turns still land smoothly, streaming still follows smoothly, and scrolling up still releases the follow.

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@intentface/chat",
"version": "0.5.0",
"version": "0.5.1",
"description": "Headless UI primitives — unstyled compound components, hooks, and wire formats for AI chat interfaces and the app shells around them.",
"license": "MIT",
"type": "module",
Expand Down
Loading