[PR #722] [MERGED] fix reset during streaming #736

Closed
opened 2026-03-02 23:47:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/722
Author: @simonklee
Created: 2/21/2026
Status: Merged
Merged: 2/21/2026
Merged by: @kommander

Base: mainHead: fix-reset-during-streaming


📝 Commits (2)

  • bb0130e fix(scrollbox): preserve manual scroll state on sticky recalculation
  • 17a2191 ref(scrollbox): preserve sticky-scroll guard state during updates

📊 Changes

2 files changed (+110 additions, -49 deletions)

View changed files

📝 packages/core/src/renderables/ScrollBox.ts (+61 -49)
📝 packages/core/src/tests/scrollbox.test.ts (+49 -0)

📄 Description

See https://github.com/anomalyco/opentui/pull/722/changes/73b0927a5787f6d3d28effd5396809fdc186e46b for the "fix" while the next commit is a pure refactor.

Fix #709


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/722 **Author:** [@simonklee](https://github.com/simonklee) **Created:** 2/21/2026 **Status:** ✅ Merged **Merged:** 2/21/2026 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix-reset-during-streaming` --- ### 📝 Commits (2) - [`bb0130e`](https://github.com/anomalyco/opentui/commit/bb0130e177200bc391ebeafbf63ede8400c368c4) fix(scrollbox): preserve manual scroll state on sticky recalculation - [`17a2191`](https://github.com/anomalyco/opentui/commit/17a2191b19d13d405dad999463c7b6d4dd7bb46b) ref(scrollbox): preserve sticky-scroll guard state during updates ### 📊 Changes **2 files changed** (+110 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/ScrollBox.ts` (+61 -49) 📝 `packages/core/src/tests/scrollbox.test.ts` (+49 -0) </details> ### 📄 Description See https://github.com/anomalyco/opentui/pull/722/changes/73b0927a5787f6d3d28effd5396809fdc186e46b for the "fix" while the next commit is a pure refactor. Fix #709 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:47:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#736
No description provided.