[PR #5559] feat(tui): implement smooth scrolling for autocomplete dropdown navigation #11473

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

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

State: closed
Merged: Yes


This PR improves the autocomplete dropdown's scrolling behavior by implementing smooth scrolling functionality when navigating through long lists of options. Previously, when users typed "/" to access commands and had more than 10 available options, they could only see the first 10 items without any ability to scroll through the remaining options, leading to a poor user experience where many commands were inaccessible. The updated implementation now properly handles scrolling through all available options while maintaining visual feedback on the currently selected item, significantly enhancing usability when working with large sets of autocomplete options.

image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5559 **State:** closed **Merged:** Yes --- This PR improves the autocomplete dropdown's scrolling behavior by implementing smooth scrolling functionality when navigating through long lists of options. Previously, when users typed "/" to access commands and had more than 10 available options, they could only see the first 10 items without any ability to scroll through the remaining options, leading to a poor user experience where many commands were inaccessible. The updated implementation now properly handles scrolling through all available options while maintaining visual feedback on the currently selected item, significantly enhancing usability when working with large sets of autocomplete options. <img width="1372" height="603" alt="image" src="https://github.com/user-attachments/assets/65add412-e4a2-463f-893c-7e10c71939f5" />
yindo added the pull-request label 2026-02-16 18:16:19 -05:00
yindo closed this issue 2026-02-16 18:16:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11473