[PR #10207] feat: always center selected item in selection dialogs (resolves #10209) #13368

Closed
opened 2026-02-16 18:18:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10207

State: closed
Merged: Yes


What does this PR do?

Passes the optional true argument to the moveTo function call in packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx so as to cause the viewport to remain centred on the selected item, improving the UX.

https://github.com/user-attachments/assets/5dc17bdc-0ecd-468e-9d8c-e19f2d57362f

Resolves #10209

How did you verify your code works?

Manual testing: I've been using it for a week in my personal fork without issue, works great.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10207 **State:** closed **Merged:** Yes --- ### What does this PR do? Passes the optional `true` argument to the `moveTo` function call in `packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx` so as to cause the viewport to remain centred on the selected item, improving the UX. https://github.com/user-attachments/assets/5dc17bdc-0ecd-468e-9d8c-e19f2d57362f Resolves #10209 ### How did you verify your code works? Manual testing: I've been using it for a week in my personal fork without issue, works great.
yindo added the pull-request label 2026-02-16 18:18:13 -05:00
yindo closed this issue 2026-02-16 18:18:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13368