[PR #264] [MERGED] fix disappearing scrollbox content for code renderables #1183

Closed
opened 2026-03-14 09:22:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/264
Author: @kommander
Created: 11/4/2025
Status: Merged
Merged: 11/4/2025
Merged by: @kommander

Base: mainHead: scrollbox-content-disappears-debug


📝 Commits (7)

📊 Changes

6 files changed (+644 additions, -98 deletions)

View changed files

📝 packages/core/src/renderables/Code.test.ts (+49 -93)
📝 packages/core/src/renderables/Code.ts (+24 -2)
📝 packages/core/src/testing.ts (+1 -0)
packages/core/src/testing/mock-tree-sitter-client.ts (+51 -0)
📝 packages/core/src/tests/scrollbox.test.ts (+220 -3)
packages/solid/tests/scrollbox-content.test.tsx (+299 -0)

📄 Description

addresses #260


🔄 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/264 **Author:** [@kommander](https://github.com/kommander) **Created:** 11/4/2025 **Status:** ✅ Merged **Merged:** 11/4/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `scrollbox-content-disappears-debug` --- ### 📝 Commits (7) - [`f93af9a`](https://github.com/anomalyco/opentui/commit/f93af9aab7a7641b29c812ea1be521363f19cbb0) reproduce - [`5ad0de5`](https://github.com/anomalyco/opentui/commit/5ad0de5ad9005282d7c051577b483a036ebca626) stash - [`afd0539`](https://github.com/anomalyco/opentui/commit/afd0539a5f996258dd4f391a36891c97b395cd96) extract treesitter client mock - [`76e83b6`](https://github.com/anomalyco/opentui/commit/76e83b6e1e30dc4cebc00005b321f3077ecc8b87) fix core - [`56ccaaf`](https://github.com/anomalyco/opentui/commit/56ccaaf511959a2110c63bf2029e05b34b14f32d) use mock in solid tests - [`40501ca`](https://github.com/anomalyco/opentui/commit/40501caddf32a83c73737cfc5c7f0d324ec16999) tests use mock treesitter client - [`bdd6bbe`](https://github.com/anomalyco/opentui/commit/bdd6bbeee55bdb51ce24cc0477be70ad52fe9fbb) cleanup ### 📊 Changes **6 files changed** (+644 additions, -98 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/renderables/Code.test.ts` (+49 -93) 📝 `packages/core/src/renderables/Code.ts` (+24 -2) 📝 `packages/core/src/testing.ts` (+1 -0) ➕ `packages/core/src/testing/mock-tree-sitter-client.ts` (+51 -0) 📝 `packages/core/src/tests/scrollbox.test.ts` (+220 -3) ➕ `packages/solid/tests/scrollbox-content.test.tsx` (+299 -0) </details> ### 📄 Description addresses #260 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 09:22:56 +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#1183
No description provided.