mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #531] [MERGED] fix(scrollbox): reset _hasManualScroll when user scrolls back to sticky position #1383
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1383
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/531
Author: @bradleat
Created: 1/15/2026
Status: ✅ Merged
Merged: 1/18/2026
Merged by: @kommander
Base:
main← Head:sticky-scroll-reset-fix📝 Commits (4)
a624ac2fix(scrollbox): reset _hasManualScroll when user scrolls back to sticky positiona9f3bd4test(scrollbox): add regression tests for issue #5306eaa0e2refactor(scrollbox): remove comments from fix97e5b94Merge branch 'main' into sticky-scroll-reset-fix📊 Changes
2 files changed (+100 additions, -0 deletions)
View changed files
📝
packages/core/src/renderables/ScrollBox.ts(+12 -0)📝
packages/core/src/tests/scrollbox.test.ts(+88 -0)📄 Description
Summary
stickyScroll={true}andstickyStart="bottom"randomly scrolls to top after user input_hasManualScroll = falseinupdateStickyState()when user scrolls back to their sticky positionmaxScrollTop === 0)Test plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.