-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug
Shell buttons in the dashboard are no longer working. This started immediately after merging PR #561 (terminal scroll position fix) and restarting Tower.
Likely Cause
PR #561 modified Terminal.tsx — added term.onScroll() handler and changed safeFit() to use externally-tracked scroll state. Something in these changes may have broken event handling for shell buttons.
Key Changes in PR #561 to Investigate
- Added
scrollStateobject andterm.onScroll()listener - Modified
safeFit()to read fromscrollStateinstead ofterm.buffer.active - Added
scrollDisposable.dispose()to cleanup - Added scroll state sync in
term.write()callback and replay timeout
Expected Behavior
Shell buttons should work as before PR #561.
Files to Investigate
packages/codev/dashboard/src/components/Terminal.tsx— the only source file changed in PR Fix: Terminal scrolls to top after tab switch (Issue #560) #561
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working