Conversation
The transcript stays pinned to the latest message as output arrives. Scrolling up pauses following, and the scroll button jumps back to the bottom.
Installation
Copy the command below and run it in your terminal.
Usage
Give Root a fixed height so Content can scroll. follow is bindable and starts as true. It turns
off when the user scrolls up and back on within threshold pixels of the bottom (80 by default).
Examples
Empty state
Follow live output
Following latest output
Scroll up to pause following. Append more output, then use the arrow to return to the latest step.
Anatomy
Conversation.Root - Follows new output until the user scrolls up.
Conversation.Content - Scrolls the list of messages.
Conversation.Empty - Shows a title and prompt before any messages.
Conversation.ScrollButton - Scrolls to the latest message.
await flags.disable('checkout.address-verification'); await metrics.waitForRecovery({ window: "10m" });